On Thu, Jul 26, 2001 at 04:37:28AM +0200, Alex van den Bogaerdt wrote: > Matt Zimmerman wrote: > > > As long as this is true, the expressions for DNAN and DINF are a perfectly > > valid way to obtain some values which will satisfy finite/isnan/isinf in the > > expected ways: IEEE defines that isnan(0.0/0.0) and isinf(1.0/0.0) will > > both > > be true. > > Do you also happen to know the official way to handle isnan(1.0/0.0) ?
The IEEE representations are such that isnan(x) and isinf(x) are mutually exclusive (they will never both be true), so isnan(1.0/0.0) should always be false. -- - mdz -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-developers WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
