Closed Bug 613492 Opened 9 years ago Closed 9 years ago
Float("infinity") should return Na N
There's some redundant code in dtoa.c that causes this; will attach a patch to remove it.
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)
Forgot to add the right bug number to the test.
Comment on attachment 491838 [details] [diff] [review] Patch Seems reasonable.
Attachment #491838 - Flags: review?(jwalden+bmo) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.