[rrd-developers] Re: Representation of NAN and INF

Chris Carton u43o1 at unb.ca
Wed Jul 25 17:28:27 MEST 2001


I scanned that page quickly and believe that the answer you're looking for is 


>> I note in the C source that these two pseudo-numbers have representation
>> defined in terms of the particular float scheme used with the C compiler:
>> #define DNAN    ((double)(0.0/0.0))
>> #define DINF    ((double)(1.0/0.0))
>> Apparently, these two representations come out different. However, in the
>> math I studied, "anything" divided by 0 is still ... like Undefined. And so
>> 0/0 is the same as 1/0 and both are illegal.

Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-developers mailing list