Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!phri!roy From: roy@phri.UUCP (Roy Smith) Newsgroups: comp.unix.wizards Subject: Re: what does NaN mean out of printf? Message-ID: <3876@phri.UUCP> Date: 19 Jul 89 01:34:31 GMT References: <20283@adm.BRL.MIL> Reply-To: roy@phri.UUCP (Roy Smith) Organization: Public Health Research Inst. (NY, NY) Lines: 13 In article <20283@adm.BRL.MIL> Leisner.Henr@xerox.com (Marty) writes: > What does NaN mean out of printf? You're on a machine which supports IEEE-754 arithmetic (for example, a Sun, but there are many, many modern machines which fit this description). NaN means Not A Number. NaN is the result of some illegal arithmetic operation (division by zero, square root of a negative number, etc). -- Roy Smith, Public Health Research Institute 455 First Avenue, New York, NY 10016 {att,philabs,cmcl2,rutgers,hombre}!phri!roy -or- roy@alanine.phri.nyu.edu "The connector is the network"