[Webkit-unassigned] [Bug 123933] New: Multiplying a floating Number from an Array calculates incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 6 15:17:15 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=123933

           Summary: Multiplying a floating Number from an Array calculates
                    incorrectly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.8
            Status: NEW
          Severity: Major
          Priority: P3
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: to_moz at zoshe.com


Created an attachment (id=216231)
 --> (https://bugs.webkit.org/attachment.cgi?id=216231&action=review)
Test Results

<script>
var aaa = {numFloat:.55};
var bbb = 100 - (aaa.numFloat * 100); //Should be 45. Not 44.99999999999999
var ccc = aaa.numFloat * 100; // Should be 55,. Not 55.00000000000001
</script>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list