[Webkit-unassigned] [Bug 185115] New: Math.round() produces wrong result for value prior to 0.5
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Apr 28 16:12:58 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=185115
Bug ID: 185115
Summary: Math.round() produces wrong result for value prior to
0.5
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: corydoras at ridiculousfish.com
Math.round(0.499999999999999944) produces 1.0; it should produce 0.0. Likewise for the negated input.
Note 0.499999999999999944 is the largest representable double less than 0.5.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180428/56b9940b/attachment.html>
More information about the webkit-unassigned
mailing list