Branch
Hash :
d420f033
Author :
Date :
2025-04-14T11:37:25
isnanl, isfinite, snan: Improve cross-compilation guess. * m4/exponentl.m4 (gl_LONG_DOUBLE_EXPONENT_LOCATION): When cross-compiling, invoke gl_LONG_DOUBLE_VS_DOUBLE and gl_DOUBLE_EXPONENT_LOCATION, and guess the result depending on the CPU. * modules/getpayloadl (Depends-on): Add exponentd.m4, math_h.m4. * modules/isfinite (Depends-on): Likewise. * modules/isnanl (Depends-on): Likewise. * modules/setpayloadl (Depends-on): Likewise. * modules/setpayloadsigl (Depends-on): Likewise. * modules/isnanl-nolibm (Depends-on): Add exponentd.m4.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
Description:
isnanl() function: test for NaN.
Files:
lib/isnanl.c
lib/isnan.c
lib/float+.h
m4/exponentl.m4
m4/exponentd.m4
m4/math_h.m4
m4/isnanl.m4
Depends-on:
math-h
float-h
fpieee
memcmp
configure.ac:
gl_FUNC_ISNANL
m4_ifdef([gl_ISNAN], [
AC_REQUIRE([gl_ISNAN])
])
if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then
AC_LIBOBJ([isnanl])
gl_PREREQ_ISNANL
fi
gl_MATH_MODULE_INDICATOR([isnanl])
Makefile.am:
Include:
<math.h>
Link:
$(ISNANL_LIBM)
License:
LGPLv2+
Maintainer:
all