New module 'floor-ieee'.
authorBruno Haible <bruno@clisp.org>
Tue, 21 Dec 2010 16:41:03 +0000 (17:41 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 21 Dec 2010 21:46:56 +0000 (22:46 +0100)
commit8938f22cb374f04f265ac3a9d2cefdc44524d6e2
treea46acc07d819d19a96a78d4cec0c212878533e8a
parent4ee2d29251b218b1f4f520494499e55b6d1714ba
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.
12 files changed:
ChangeLog
doc/posix-functions/floor.texi
lib/math.in.h
m4/floor-ieee.m4 [new file with mode: 0644]
m4/floor.m4
m4/math_h.m4
modules/floor
modules/floor-ieee [new file with mode: 0644]
modules/floor-ieee-tests [new file with mode: 0644]
modules/math
tests/test-floor-ieee.c [new file with mode: 0644]
tests/test-math-c++.cc