[comp.sys.next] Math/Stdio Library - NaN, Inf

iwelch@agsm.ucla.edu (Ivo Welch) (03/16/91)

One problem that has annoyed me on my  NeXT (BSD 4.3,  Gnu C) for some
time is that there are three floating point numbers that can be output
by printf, but not read by an equivalent scanf: the  68040 definitions
of NaN, +Infinity, and  -Infinity. Are there any  altered  versions of
scanf/sscanf/etc.  that can handle this shortcoming?

Incidentally, where do I get COPS?

/ivo welch

rca@cs.brown.edu (Ronald C.F. Antony) (03/17/91)

In article <823@mara.cognet.ucla.edu> iwelch@agsm.ucla.edu (Ivo Welch) writes:
>Incidentally, where do I get COPS?

from ftp.uu.net

Ronald


------------------------------------------------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one persists
in trying to adapt the world to himself. Therefore all progress depends on the
unreasonable man."   G.B. Shaw   |  rca@cs.brown.edu or antony@browncog.bitnet