diff options
author | Bruno Haible <bruno@clisp.org> | 2010-12-21 17:41:03 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-12-21 22:46:56 +0100 |
commit | 8938f22cb374f04f265ac3a9d2cefdc44524d6e2 (patch) | |
tree | a46acc07d819d19a96a78d4cec0c212878533e8a /modules/floor | |
parent | 4ee2d29251b218b1f4f520494499e55b6d1714ba (diff) | |
download | gnulib-8938f22cb374f04f265ac3a9d2cefdc44524d6e2.tar.gz |
New module 'floor-ieee'.
* modules/floor-ieee: New file.
* m4/floor.m4 (gl_FUNC_FLOOR): Require gl_MATH_H_DEFAULTS. If
gl_FUNC_FLOOR_IEEE is also used, test whether floor works according to
ISO C 99 with IEC 60559.
* m4/floor-ieee.m4: New file.
* modules/floor (Files): Add lib/floor.c.
(Depends-on): Add 'float'.
(configure.ac): Invoke gl_MATH_MODULE_INDICATOR.
* lib/math.in.h (floor): New declaration.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_FLOOR,
REPLACE_FLOOR.
* modules/math (Makefile.am): Substitute GNULIB_FLOOR, REPLACE_FLOOR.
* modules/floor-ieee-tests: New file.
* tests/test-floor-ieee.c: New file, based on tests/test-floorf-ieee.c.
* tests/test-math-c++.cc: Check the signature of 'floor'.
* doc/posix-functions/floor.texi: Mention the new module.
Diffstat (limited to 'modules/floor')
-rw-r--r-- | modules/floor | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/floor b/modules/floor index f0eaef8431..ee898d3cd6 100644 --- a/modules/floor +++ b/modules/floor @@ -2,13 +2,16 @@ Description: floor() function: round towards negative infinity. Files: +lib/floor.c m4/floor.m4 Depends-on: math +float configure.ac: gl_FUNC_FLOOR +gl_MATH_MODULE_INDICATOR([floor]) Makefile.am: |