On 02/08/2010, Henri Verbeet <hverb...@gmail.com> wrote:
> On 2 August 2010 13:20, GOUJON Alexandre <ale.gou...@gmail.com> wrote:
>  > Why don't you use math.h NAN macro ?
>  > A quick search on google gave me
>  > http://www.gnu.org/software/libc/manual//html_node/Infinity-and-NaN.html
>  >
>
> That's not portable enough.
>

The INFINITY macro is part of C99, but for NaN, why not use something
like sqrt(-1) ?


Reply via email to