Bug 139368 - Mozilla does not compute log(1) properly on AMD64
Summary: Mozilla does not compute log(1) properly on AMD64
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: mozilla   
(Show other bugs)
Version: 3.0
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact: Ben Levenson
URL: http://casa.colorado.edu/~gnedin/mozi...
Depends On:
TreeView+ depends on / blocked
Reported: 2004-11-15 16:38 UTC by Josef Bacik
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-11-02 22:25:12 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Josef Bacik 2004-11-15 16:38:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)

Description of problem:
When you are trying to do certain javascript math functions in Mozilla
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):

How reproducible:

Steps to Reproduce:
1.Write a javascript function that takes the log(1)
2.print the answer of log(1)

Actual Results:  It prints 1.9486702422103142e14

Expected Results:  Its supposed to print 0

Additional info:

Comment 1 Christopher Aillon 2006-11-02 22:25:12 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.