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:
totalorderf function: total order on float
Files:
lib/totalorderf.c
m4/mathfunc.m4
m4/totalorder.m4
m4/nan-mips.m4
Depends-on:
math
extensions
isnanf [test $HAVE_TOTALORDERF = 0 || test $REPLACE_TOTALORDERF = 1]
signbit [test $HAVE_TOTALORDERF = 0 || test $REPLACE_TOTALORDERF = 1]
configure.ac:
gl_FUNC_TOTALORDERF
gl_CONDITIONAL([GL_COND_OBJ_TOTALORDERF],
[test $HAVE_TOTALORDERF = 0 || test $REPLACE_TOTALORDERF = 1])
gl_MATH_MODULE_INDICATOR([totalorderf])
Makefile.am:
if GL_COND_OBJ_TOTALORDERF
lib_SOURCES += totalorderf.c
endif
Include:
<math.h>
Link:
$(TOTALORDERF_LIBM)
License:
LGPL
Maintainer:
all