Re:Exploiting the Math.expm1 typing bug in V8
by csense on Thursday January 03, 2019 @02:28PM
(#18818347)
The reason expm1 exists is because that naive approach is numerically poor when x is small (then e^x is almost 1, and subtracting two almost equal values throws away significant digits and gives you an inaccurate result).
[ Parent
| on HN ]
There are no comments on this comment yet.