1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-09-01 02:34:55 +00:00
Files
gnulib/modules/truncf-ieee
Bruno Haible fdb0fd9e82 New module 'truncf-ieee'.
* modules/truncf-ieee: New file.
* m4/truncf.m4 (gl_FUNC_TRUNCF): If gl_FUNC_TRUNCF_IEEE is also used,
test whether truncf works according to ISO C 99 with IEC 60559.
* m4/truncf-ieee.m4: New file.
* lib/math.in.h (truncf): Replace if REPLACE_TRUNCF is set.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_TRUNCF.
* modules/math (Makefile.am): Substitute REPLACE_TRUNCF.
* modules/truncf-ieee-tests: New file.
* tests/test-truncf-ieee.c: New file, based on tests/test-truncf1.c.
* tests/test-truncf1.c (main): Remove signbit tests.
* modules/truncf-tests (Depends-on): Remove 'signbit'.
* doc/posix-functions/truncf.texi: Mention the new module.
2010-12-21 17:30:27 +01:00

28 lines
277 B
Plaintext

Description:
truncf() function according to ISO C 99 with IEC 60559.
Files:
m4/truncf-ieee.m4
m4/minus-zero.m4
m4/signbit.m4
Depends-on:
truncf
configure.ac:
gl_FUNC_TRUNCF_IEEE
Makefile.am:
Include:
<math.h>
Link:
$(TRUNCF_LIBM)
License:
LGPL
Maintainer:
Bruno Haible