WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 54899
41033
Math.LOG10E doesn't follow ECMA-262 spec (insufficient precision)
https://bugs.webkit.org/show_bug.cgi?id=41033
Summary
Math.LOG10E doesn't follow ECMA-262 spec (insufficient precision)
Paulo Freitas
Reported
2010-06-22 20:31:42 PDT
Not sure if it's a bug for you, but your Math.LOG10E is 0.43429448190325176 and ECMA-262 spec defines 0.4342944819032518 (i.e. you've one more level of precision). Sorry if it's irrelevant and/or bad categorized, I'm new here. :)
Attachments
Add attachment
proposed patch, testcase, etc.
Paulo Freitas
Comment 1
2010-06-22 20:33:56 PDT
Ah, sorry for forgetting:
http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf
, section 15.8.1, item 15.8.1.5 ;)
Geoffrey Garen
Comment 2
2010-06-25 10:52:09 PDT
Marking as invalid based on Paulo's last comment.
Geoffrey Garen
Comment 3
2010-06-25 11:20:58 PDT
Reopening based on alexey's comments in IRC. We might as well match the exact numbers in the spec, along with Firefox. We can just hard code them in MathObject.cpp. We should do this for all the constants, not just LOG10E.
Peter Kasting
Comment 4
2011-02-21 15:46:31 PST
This was fixed in
bug 54899
. *** This bug has been marked as a duplicate of
bug 54899
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug