1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Files
gnulib/modules/trunc-ieee
Bruno Haible 0c5e7922f8 New module 'trunc-ieee'.
* modules/trunc-ieee: New file.
* m4/trunc.m4 (gl_FUNC_TRUNC): If gl_FUNC_TRUNC_IEEE is also used, test
whether trunc works according to ISO C 99 with IEC 60559.
* m4/trunc-ieee.m4: New file.
* lib/math.in.h (trunc): Replace if REPLACE_TRUNC is set.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_TRUNC.
* modules/math (Makefile.am): Substitute REPLACE_TRUNC.
* modules/trunc-ieee-tests: New file.
* tests/test-trunc-ieee.c: New file, based on tests/test-truncf-ieee.c.
* tests/test-trunc1.c (main): Remove signbit tests.
* modules/trunc-tests (Depends-on): Remove 'signbit'.
* doc/posix-functions/trunc.texi: Mention the new module.
2010-12-21 22:48:06 +01:00

28 lines
272 B
Plaintext

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