summaryrefslogtreecommitdiff
path: root/modules/ceil
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-12-21 18:05:21 +0100
committerBruno Haible <bruno@clisp.org>2010-12-21 22:46:57 +0100
commit4b7ece979775e13ba4f1db1e6d9cfe400eff0f01 (patch)
treed02f5b3487819f1b912e46f677f085f57ff90aba /modules/ceil
parent8938f22cb374f04f265ac3a9d2cefdc44524d6e2 (diff)
downloadgnulib-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')
-rw-r--r--modules/ceil3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/ceil b/modules/ceil
index 5c1630939b..90e03fce2c 100644
--- a/modules/ceil
+++ b/modules/ceil
@@ -2,13 +2,16 @@ Description:
ceil() function: round towards positive infinity.
Files:
+lib/ceil.c
m4/ceil.m4
Depends-on:
math
+float
configure.ac:
gl_FUNC_CEIL
+gl_MATH_MODULE_INDICATOR([ceil])
Makefile.am: