This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] sscanf vs ERANGE vs finitel
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Sat, 20 Mar 2004 17:30:10 +0100
- Subject: Re: [RFC] sscanf vs ERANGE vs finitel
- References: <405C65CC.3040903@suse.de> <jed677ik1h.fsf@sykes.suse.de>
Andreas Schwab wrote:
Yes, Inf and NaN are both in range, but not finite.
Ah, ok, now I see. You mean when INF, INFINITY and so on are parsed,
sscanf does *not* set errno, indeed. I forgot that, my bad.
Thanks again,
Paolo.