[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 51684] Math constant rounding error
From:       Harri Porten <porten () trolltech ! com>
Date:       2003-05-21 9:29:26
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=51684     




------- Additional Comments From porten@trolltech.com  2003-05-21 11:29 -------
When I run this code in Mozilla I get 76.6. kjs gives 76.59999999999999. The
Mozilla engine probably has its own floating point calculus implementation. The
difference is not nice but the error is within the machine's precision.

I don't see your point of an integer division. Which browser gives you a rounded
result ?
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic