Red Hat Bugzilla – Bug 139368
Mozilla does not compute log(1) properly on AMD64
Last modified: 2007-11-30 17:07:05 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Description of problem:
on the AMD 64, ie log(1) or Math.pow(), they return the wrong values.
If you follow the link provided in this bugzilla on any other machine
you will see the log of 1 is 0, but if you do it on a AMD 64 machine
you get 1.9486702422103142e14, which is quite different from 0.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.print the answer of log(1)
Actual Results: It prints 1.9486702422103142e14
Expected Results: Its supposed to print 0
I believe this was a result of broken platform detection code in the JS engine
which was fixed around mozilla 1.7.8-ish. In any case, this seems fixed in
seamonkey which replaced mozilla in RHEL3. Please reopen if it does not work still.