mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-09-14 00:21:53 +03:00
* tests/test-totalorder.h: Include <math.h>. (positive_NaN_with_payload, negative_NaN_with_payload): New functions. (main): Test quiet NaNs of each sign with different payload. * tests/test-totalorder.c (TOTALORDER_POSITIVE_NAN, TOTALORDER_NEGATIVE_NAN): Remove macros. (TOTALORDER_SETPAYLOAD): New macro. * tests/test-totalorderf.c (TOTALORDER_POSITIVE_NAN, TOTALORDER_NEGATIVE_NAN): Remove macros. (TOTALORDER_SETPAYLOAD): New macro. * tests/test-totalorderl.c (TOTALORDER_POSITIVE_NAN, TOTALORDER_NEGATIVE_NAN): Remove macros. (TOTALORDER_SETPAYLOAD): New macro. * modules/totalorder-tests (Depends-on): Add setpayload. (Makefile.am): Link test-totalorder with $(SETPAYLOAD_LIBM). * modules/totalorderf-tests (Depends-on): Add setpayloadf. (Makefile.am): Link test-totalorderf with $(SETPAYLOADF_LIBM). * modules/totalorderl-tests (Depends-on): Add setpayloadl. (Makefile.am): Link test-totalorderl with $(SETPAYLOADL_LIBM).
20 lines
336 B
Plaintext
20 lines
336 B
Plaintext
Files:
|
|
tests/test-totalorderl.c
|
|
tests/test-totalorder.h
|
|
tests/minus-zero.h
|
|
tests/infinity.h
|
|
tests/signature.h
|
|
tests/macros.h
|
|
|
|
Depends-on:
|
|
signed-nan
|
|
signed-snan
|
|
setpayloadl
|
|
|
|
configure.ac:
|
|
|
|
Makefile.am:
|
|
TESTS += test-totalorderl
|
|
check_PROGRAMS += test-totalorderl
|
|
test_totalorderl_LDADD = $(LDADD) @TOTALORDERL_LIBM@ $(SETPAYLOADL_LIBM)
|