Problem with scanf reading long types in scientific notation

Ian Lance Taylor iant@google.com
Tue May 17 18:44:00 GMT 2011


Sean Robert McGuffee <sean.mcguffee@gmail.com> writes:

> Regarding all the scanf functions reading long values
> (sscanf,fscanf,scanf,... etc...).

I'm sorry, this is the wrong mailing list.  gcc is just the compiler.
Functions like sscanf, fscanf, scanf are part of the C library.  gcc
does not provide a C library.

In any case the behaviour of these functions is specified by industry
standards, and it is unlikely that anybody is going to change their
meaning at this point.

Ian



More information about the Gcc mailing list