[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: min, max and nans
From: |
Kevin Ryde |
Subject: |
Re: min, max and nans |
Date: |
Sun, 15 Jun 2003 10:17:34 +1000 |
User-agent: |
Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) |
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.