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
Description:
totalorder function: total order on double
Files:
lib/totalorder.c
m4/mathfunc.m4
m4/totalorder.m4
m4/nan-mips.m4
Depends-on:
math
extensions
isnand [test $HAVE_TOTALORDER = 0 || test $REPLACE_TOTALORDER = 1]
signbit [test $HAVE_TOTALORDER = 0 || test $REPLACE_TOTALORDER = 1]
configure.ac:
gl_FUNC_TOTALORDER
gl_CONDITIONAL([GL_COND_OBJ_TOTALORDER],
[test $HAVE_TOTALORDER = 0 || test $REPLACE_TOTALORDER = 1])
gl_MATH_MODULE_INDICATOR([totalorder])
Makefile.am:
if GL_COND_OBJ_TOTALORDER
lib_SOURCES += totalorder.c
endif
Include:
<math.h>
Link:
$(TOTALORDER_LIBM)
License:
LGPL
Maintainer:
all