Hash :
dbc692b7
Author :
Date :
2024-04-19T02:14:41
setpayload*: Support newer MIPS CPUs. * lib/setpayload.c (setpayload): On MIPS CPUs with MIPS_NAN2008_DOUBLE, accept a zero payload. * lib/setpayloadf.c (setpayloadf): On MIPS CPUs with MIPS_NAN2008_FLOAT, accept a zero payload. * lib/setpayloadl.c (setpayloadl): On MIPS CPUs with MIPS_NAN2008_LONG_DOUBLE, accept a zero payload. * m4/setpayload.m4 (gl_FUNC_SETPAYLOADF, gl_FUNC_SETPAYLOAD, gl_FUNC_SETPAYLOADL): Invoke gl_NAN_MIPS. * modules/setpayload (Files): Add m4/nan-mips.m4. * modules/setpayloadf (Files): Likewise. * modules/setpayloadl (Files): Likewise.
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
Description:
setpayload function: construct a quiet NaN with a given payload
Files:
lib/setpayload.c
m4/mathfunc.m4
m4/setpayload.m4
m4/nan-mips.m4
Depends-on:
math
extensions
float [test $HAVE_SETPAYLOAD = 0]
stdint [test $HAVE_SETPAYLOAD = 0]
signed-nan [test $HAVE_SETPAYLOAD = 0]
configure.ac:
gl_FUNC_SETPAYLOAD
gl_CONDITIONAL([GL_COND_OBJ_SETPAYLOAD], [test $HAVE_SETPAYLOAD = 0])
gl_MATH_MODULE_INDICATOR([setpayload])
Makefile.am:
if GL_COND_OBJ_SETPAYLOAD
lib_SOURCES += setpayload.c
endif
Include:
<math.h>
Link:
$(SETPAYLOAD_LIBM)
License:
LGPL
Maintainer:
all