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
Description:
setpayloadsigl function: construct a signalling NaN with a given payload
Files:
lib/setpayloadsigl.c
m4/mathfunc.m4
m4/setpayloadsig.m4
m4/exponentl.m4
m4/exponentd.m4
m4/math_h.m4
Depends-on:
math-h
extensions
setpayloadsig [test $HAVE_SETPAYLOADSIGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float-h [test $HAVE_SETPAYLOADSIGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
stdint-h [test $HAVE_SETPAYLOADSIGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
signed-snan [test $HAVE_SETPAYLOADSIGL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
configure.ac:
gl_FUNC_SETPAYLOADSIGL
gl_CONDITIONAL([GL_COND_OBJ_SETPAYLOADSIGL], [test $HAVE_SETPAYLOADSIGL = 0])
gl_MATH_MODULE_INDICATOR([setpayloadsigl])
Makefile.am:
if GL_COND_OBJ_SETPAYLOADSIGL
lib_SOURCES += setpayloadsigl.c
endif
Include:
<math.h>
Link:
$(SETPAYLOADSIGL_LIBM)
License:
LGPL
Maintainer:
all