Lines Matching refs:isnanf
1 # isnanf.m4 serial 14
7 dnl Check how to get or define isnanf().
40 dnl Check how to get or define isnanf() without linking with libm.
62 dnl Prerequisites of replacement isnanf definition. It does not need -lm.
68 dnl Test whether isnanf() can be used without libm.
78 # undef isnanf
79 # define isnanf(x) __builtin_isnanf ((float)(x))
81 # undef isnanf
82 # define isnanf(x) isnan ((float)(x))
85 [[return isnanf (x);]])],
91 dnl Test whether isnanf() can be used with libm.
103 # undef isnanf
104 # define isnanf(x) __builtin_isnanf ((float)(x))
106 # undef isnanf
107 # define isnanf(x) isnan ((float)(x))
110 [[return isnanf (x);]])],
117 dnl Test whether isnanf() rejects Infinity (this fails on Solaris 2.5.1),
131 # undef isnanf
132 # define isnanf(x) __builtin_isnanf ((float)(x))
134 # undef isnanf
135 # define isnanf(x) isnan ((float)(x))
155 if (isnanf (1.0f / 0.0f))
158 if (!isnanf (NaN ()))
162 /* The isnanf function should be immune against changes in the sign bit and
173 if (!isnanf (m.value))