Should atof and/or scanf set errno if strtod sets errno?

David Hough sun!Eng!dgh
Mon Sep 10 18:50:34 PDT 1990


According to the SVID release 3, strtod and atof have the same errno
properties.  ?scanf does not set errno to ERANGE.

X3J11, X/Open, and POSIX may ?all? be different for all I can tell
right now.

NCEG should assassinate ERRNO.



More information about the Numeric-interest mailing list