------- Comment #10 from ian at airs dot com 2006-06-06 04:11 ------- In C90 strtod does not say anything specifically about "inf", etc. However, it does say:
In other than the "C" locale, additional implementation-defined subject sequence forms may be accepted. In any case, to me this is a quality of implementation issue. A good implementation will accept "inf", "infinity" and "nan". The fact that C99 explicitly accepts them seems sufficient justification to me. If necessary we can act otherwise if POSIXLY_CORRECT. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27904