Closed
Bug 13597
Opened 26 years ago
Closed 26 years ago
Incorrect floating-point reading
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: waldemar, Assigned: waldemar)
Details
The following floating-point number gets read in incorrectly:
2.2250738585072012e-308
It produces 2.225073858507201e-308.
It should produce 2.2250738585072014e-308 instead, according to ECMA 9.3.1 and
8.5.
The reason is that 2.225073858507201e-308 is really
2.2250738585072008890245868760858598876504231122409...e-308, while
2.2250738585072014e-308 is really
2.2250738585072013830902327173324040642192159804623...e-308. The latter is
closer mathematically to the given 2.2250738585072012e-308.
Waldemar
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•