Lines Matching refs:signbit
1 # signbit.m4 serial 13
11 AC_CACHE_CHECK([for signbit macro], [gl_cv_func_signbit],
16 /* If signbit is defined as a function, don't use it, since calling it for
18 If signbit is not declared at all but exists as a library function, don't
20 If signbit is not declared at all but exists as a compiler built-in, don't
23 #ifndef signbit
24 # error "signbit should be a macro"
39 dnl GCC 4.0 and newer provides three built-ins for signbit.
43 AC_CACHE_CHECK([for signbit compiler built-ins], [gl_cv_func_signbit_gcc],
48 # define signbit(x) \
53 # error "signbit should be three compiler built-ins"
78 dnl REPLACE_SIGNBIT=1 makes sure the signbit[fdl] functions get built.
181 if (signbit (vf)) /* link check */
186 if (!(!signbit (255.0f)
187 && signbit (-255.0f)
188 && !signbit (p0f)
189 && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
190 && !signbit (plus_inf)
191 && signbit (minus_inf)))
194 if (signbit (vd)) /* link check */
199 if (!(!signbit (255.0)
200 && signbit (-255.0)
201 && !signbit (p0d)
202 && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
203 && !signbit (plus_inf)
204 && signbit (minus_inf)))
207 if (signbit (vl)) /* link check */
212 if (signbit (255.0L))
214 if (!signbit (-255.0L))
216 if (signbit (p0l))
218 if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
220 if (signbit (plus_inf))
222 if (!signbit (minus_inf))
351 signbit$2 ($1 value)