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.

4439:    fpclass \    fp_class_d \    isinf \ -  isnan \ +  _isnan \    iszero \    _finite \    signbit \
4661:    exit(!(isinf(pinf)>0 && isinf(ninf)<0 && isnan(nan)));   ])   ############################################################################# - MY_CHECK_FUNCTION(_isnan, - [ - #include <float.h> - ], [ -  exit(_isnan(0.0)); - ]) - ############################################################################# +    # isfinite() is a macro on at least OS X and Linux which doesn't play well   # with AC_CHECK_FUNCS().   MY_CHECK_FUNCTION(isfinite,