[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: min, max and nans

From: Marius Vollmer
Subject: Re: min, max and nans
Date: 19 Jun 2003 01:36:47 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Kevin Ryde <address@hidden> writes:

> I notice C99 fmin and fmax return the other operand when one is a NaN,
> and return NaN only when both are NaNs.
> I tend to think of nan as indicating something evil, and it should be
> propagated.  But the c99 way would be a possibility to consider.

Yep.  Does the IEEE standard say aomething about max and min?

GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405

reply via email to

[Prev in Thread] Current Thread [Next in Thread]