Branch: Tag:

2016-01-10

2016-01-10 21:37:17 by Martin Nilsson <nilsson@fastmail.com>

Hide the different versions of isinf in PIKE_ISINF properly.

650:   #else    {    int pike_ftype=Pike_FP_UNKNOWN; - #ifdef HAVE_ISINF -  if(isinf(d)) +  if(PIKE_ISINF(d))    pike_ftype=Pike_FP_PINF;    else - #endif +    #ifdef HAVE_ISNAN -  if(isnan(d)) { +  if(isnan(d))    pike_ftype=Pike_FP_SNAN; -  } else +  else   #endif   #ifdef HAVE_ISZERO    if(iszero(d))    pike_ftype=Pike_FP_PZERO; -  else +    #endif - #ifdef HAVE_ISFINITE -  if(!isfinite(d)) -  pike_ftype=Pike_FP_PINF; - #elif HAVE_FINITE -  if(!finite(d)) -  pike_ftype=Pike_FP_PINF; - #endif +     ; /* Terminate any remaining else */       if(