Hash :
a42a02ac
Author :
Date :
2024-04-19T02:14:37
totalorder*: Support newer MIPS CPUs. * lib/totalorder.c (totalorder): On MIPS CPUs with MIPS_NAN2008_DOUBLE, don't invert the most significant bit of the mantissa field. * lib/totalorderf.c (totalorderf): On MIPS CPUs with MIPS_NAN2008_FLOAT, don't invert the most significant bit of the mantissa field. * lib/totalorderl.c (totalorderl): On MIPS CPUs with MIPS_NAN2008_LONG_DOUBLE, don't invert the most significant bit of the mantissa field. * m4/totalorder.m4 (gl_FUNC_TOTALORDERF, gl_FUNC_TOTALORDER, gl_FUNC_TOTALORDERL): Invoke gl_NAN_MIPS. * modules/totalorder (Files): Add m4/nan-mips.m4. * modules/totalorderf (Files): Likewise. * modules/totalorderl (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 38 39 40 41
Description:
totalorderl function: total order on long double
Files:
lib/totalorderl.c
m4/mathfunc.m4
m4/totalorder.m4
m4/nan-mips.m4
m4/signbit.m4
Depends-on:
math
extensions
totalorder [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
stdbool [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isnanl [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
signbit [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
configure.ac:
gl_FUNC_TOTALORDERL
gl_CONDITIONAL([GL_COND_OBJ_TOTALORDERL],
[test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1])
gl_MATH_MODULE_INDICATOR([totalorderl])
Makefile.am:
if GL_COND_OBJ_TOTALORDERL
lib_SOURCES += totalorderl.c
endif
Include:
<math.h>
Link:
$(TOTALORDERL_LIBM)
License:
LGPL
Maintainer:
all