Defect Report #225
Submitter: Bill Plauger (US)
Submission Date: 10-April-2000
Reference Document: NA
Version: 1.1
Date: 2000/04/18 02:48:44
Subject: strtod, strtof and strtold expected form of the subject sequence.
Summary
In <stdlib.h> functions strtod, strtof and stdtof and stdtold should permit an implementation to recognize either inf or infinity, and either nan or nan(n-char-sequence-opt), not just one of each.
Suggested Technical Corrigendum
In 7.20.1.3 replace:
one of INF or INFINITY, ignoring case
one of NAN or NAN(n-char-sequence-opt), ignoring case in the NAN part, where:
with:
either INF not followed by I, or INFINITY, ignoring case
either NAN not followed by a left parenthesis, or NAN(n-char-sequence-opt),
ignoring case in the NAN part, where:
Previous Defect Report
< - >
Next Defect Report