Branch: Tag:

2016-01-14

2016-01-14 17:02:44 by Martin Nilsson <nilsson@fastmail.com>

isnan is part of C99. Assume it exists unless we know it does not.

653:    int pike_ftype=Pike_FP_UNKNOWN;    if(PIKE_ISINF(d))    pike_ftype=Pike_FP_PINF; - #ifdef HAVE_ISNAN -  else if(isnan(d)) +  else if(PIKE_ISNAN(d))    pike_ftype=Pike_FP_SNAN; - #endif +    #ifdef HAVE_ISZERO    else if(iszero(d))    pike_ftype=Pike_FP_PZERO;