+2023-10-02 Bruno Haible <bruno@clisp.org>
+
+ totalorder, totalorderf, totalorderl: Fix some typos.
+ * m4/totalorder.m4 (gl_FUNC_TOTALORDERF): Assign TOTALORDERF_LIBM, not
+ TOTALORDER_LIBM.
+ * modules/totalorder (Description): Fix copy&paste mistake.
+ (Depends-on): Fix conditions.
+ * modules/totalorderf (Depends-on): Likewise.
+ * modules/totalorderl (Depends-on): Likewise.
+
2023-10-01 Paul Eggert <eggert@cs.ucla.edu>
totalorder, totalorderf, totalorderl: new modules
else
REPLACE_TOTALORDERF=1
fi
- TOTALORDER_LIBM='$(ISNANF_LIBM)'])
+ TOTALORDERF_LIBM='$(ISNANF_LIBM)'])
AC_SUBST([TOTALORDERF_LIBM])
])
Description:
-totalorder function: total order on float
+totalorder function: total order on double
Files:
lib/totalorder.c
Depends-on:
math
extensions
-isnand [test $HAVE_TOTALORDER = 0 || test $REPLACE_TOTALORDER = 0]
-signbit [test $HAVE_TOTALORDER = 0 || test $REPLACE_TOTALORDER = 0]
+isnand [test $HAVE_TOTALORDER = 0 || test $REPLACE_TOTALORDER = 1]
+signbit [test $HAVE_TOTALORDER = 0 || test $REPLACE_TOTALORDER = 1]
configure.ac:
gl_FUNC_TOTALORDER
Depends-on:
math
extensions
-isnanf [test $HAVE_TOTALORDERF = 0 || test $REPLACE_TOTALORDERF = 0]
-signbit [test $HAVE_TOTALORDERF = 0 || test $REPLACE_TOTALORDERF = 0]
+isnanf [test $HAVE_TOTALORDERF = 0 || test $REPLACE_TOTALORDERF = 1]
+signbit [test $HAVE_TOTALORDERF = 0 || test $REPLACE_TOTALORDERF = 1]
configure.ac:
gl_FUNC_TOTALORDERF
Depends-on:
math
extensions
-stdbool [test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 0]
-isnanl [test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 0]
-signbit [test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 0]
+stdbool [test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1]
+isnanl [test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1]
+signbit [test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1]
configure.ac:
gl_FUNC_TOTALORDERL