This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: scanf() cand read what printf() produced: NaNs and Inf
- To: jcardoso at inescn dot pt (Joao Cardoso)
- Subject: Re: scanf() cand read what printf() produced: NaNs and Inf
- From: Joe Buck <jbuck at Synopsys dot COM>
- Date: Mon, 29 Mar 99 12:52:29 PST
- Cc: egcs at egcs dot cygnus dot com
> printf() generate special tokens when outputing float/doubles that are
> not numbers (NaN) or are infinity (Inf).
> However, scanf() can't read those tokens. Is this deliberate?
You sent this to the egcs list, but egcs does not provide printf and
scanf. You'll need to talk to whoever provides your C library (if you run
Linux and it is GNU libc, they have their own bug list
(bug-glibc@gnu.org).