Status: New
Owner: ----
New issue 3043 by [email protected]: Math.sin(.5e-4) differs from previous
version
http://code.google.com/p/v8/issues/detail?id=3043
Using chromium 33.0.1732.0 (239232), Math.sin(.5e-4) returns
0.000049999999979166644
With Chrome 32.0.1700.19 beta, Math.sin(.5e-4) returns
0.00004999999997916667
The correct answer, as given by the linux C library and also by maxima
bigfloats, is
4.999999997916667d-5
The new value differs from the correct answer by about 4 bits.
Yes, .5e-4 cannot be represented exactly as a double-float. Use
7378697629483821/2^67 in that case, which is the nearest floating point
value to .5e-4.
--
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/groups/opt_out.