Article View: comp.std.c
Article #2222scanf parsing
From: Michael J Zehr
Date: Mon, 24 Dec 1990 03:12
Date: Mon, 24 Dec 1990 03:12
11 lines
707 bytes
707 bytes
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
Technical Details
Message-ID:
<1990Dec24.031228.5880@athena.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!tadaShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!tada From: tada@athena.mit.edu (Michael J Zehr) Newsgroups: comp.std.c Subject: scanf parsing Message-ID: <1990Dec24.031228.5880@athena.mit.edu> Date: 24 Dec 90 03:12:28 GMT Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Lines: 11