Comment #7 on issue 3266 by [email protected]: Numeric issues in hyperbolic functions
http://code.google.com/p/v8/issues/detail?id=3266

Oh, on #4, perhaps atanh(x) = log1p(x)/2-log1p(-x)/2 is better from an accuracy viewpoint than 1/2*log1p(-2*x/(1+x)). Also atanh(x) can't overflow for any value in it's domain except |x| = 1, so might as well do (log1p(x)-log1p(-x))/2 and save one division (multiplication).

But in any case, using log1p in any form is better than direct evaluation from the definition.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to