scanf parsing

Michael J Zehr tada at athena.mit.edu
Mon Dec 24 14:12:28 AEST 1990


what (if anything) does the ANSI spec say about scanf using %f format
and strtod for the following strings?

"1ea"
"1e "
"1e1e"

i've been surprised by a few results from VAXC recently, and i wonder
what the "right" answers are.

-michael



More information about the Comp.std.c mailing list