diff options
author | Bruno Haible <bruno@clisp.org> | 2010-12-21 18:05:21 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-12-21 22:46:57 +0100 |
commit | 4b7ece979775e13ba4f1db1e6d9cfe400eff0f01 (patch) | |
tree | d02f5b3487819f1b912e46f677f085f57ff90aba /modules/ceil-ieee-tests | |
parent | 8938f22cb374f04f265ac3a9d2cefdc44524d6e2 (diff) | |
download | gnulib-4b7ece979775e13ba4f1db1e6d9cfe400eff0f01.tar.gz |
New module 'ceil-ieee'.
* modules/ceil-ieee: New file.
* m4/ceil.m4 (gl_FUNC_CEIL): Require gl_MATH_H_DEFAULTS. If
gl_FUNC_CEIL_IEEE is also used, test whether ceil works according to
ISO C 99 with IEC 60559.
* m4/ceil-ieee.m4: New file.
* modules/ceil (Files): Add lib/ceil.c.
(Depends-on): Add 'float'.
(configure.ac): Invoke gl_MATH_MODULE_INDICATOR.
* lib/math.in.h (ceil): New declaration.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_CEIL,
REPLACE_CEIL.
* modules/math (Makefile.am): Substitute GNULIB_CEIL, REPLACE_CEIL.
* modules/ceil-ieee-tests: New file.
* tests/test-ceil-ieee.c: New file, based on tests/test-ceilf-ieee.c.
* tests/test-math-c++.cc: Check the signature of 'ceil'.
* doc/posix-functions/ceil.texi: Mention the new module.
Diffstat (limited to 'modules/ceil-ieee-tests')
-rw-r--r-- | modules/ceil-ieee-tests | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/ceil-ieee-tests b/modules/ceil-ieee-tests new file mode 100644 index 0000000000..178ffb758d --- /dev/null +++ b/modules/ceil-ieee-tests @@ -0,0 +1,15 @@ +Files: +tests/test-ceil-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-ceil-ieee +check_PROGRAMS += test-ceil-ieee +test_ceil_ieee_LDADD = $(LDADD) @FLOOR_LIBM@ |