Xref: utzoo comp.sys.next:14313 sci.math.stat:2046 Path: utzoo!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!ucla-cs!mara!agsm!iwelch From: iwelch@agsm.ucla.edu (Ivo Welch) Newsgroups: comp.sys.next,sci.math.stat Subject: Math/Stdio Library - NaN, Inf Keywords: Math Message-ID: <823@mara.cognet.ucla.edu> Date: 16 Mar 91 07:06:37 GMT Sender: news@mara.cognet.ucla.edu Followup-To: comp.sys.next Distribution: usa,local Organization: UCLA, Anderson Graduate School Of Management Lines: 10 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