Closed
Bug 613492
Opened 15 years ago
Closed 15 years ago
parseFloat("infinity") should return NaN
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: jandem, Assigned: jandem)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file, 1 obsolete file)
|
5.09 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
There's some redundant code in dtoa.c that causes this; will attach a patch to remove it.
| Assignee | ||
Comment 1•15 years ago
|
||
This patch passes tests. An alternative approach is to #define NO_INFNAN_CHECK, but I noticed that previous revisions also removed code from dtoa.c so I did that too.
Assignee: general → jandemooij
Status: NEW → ASSIGNED
Attachment #491836 -
Flags: review?(jwalden+bmo)
| Assignee | ||
Comment 2•15 years ago
|
||
Forgot to add the right bug number to the test.
Attachment #491836 -
Attachment is obsolete: true
Attachment #491838 -
Flags: review?(jwalden+bmo)
Attachment #491836 -
Flags: review?(jwalden+bmo)
Comment 3•15 years ago
|
||
Comment on attachment 491838 [details] [diff] [review]
Patch
Seems reasonable.
Attachment #491838 -
Flags: review?(jwalden+bmo) → review+
Comment 4•15 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 5•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•