Hash :
8938f22c
Author :
Date :
2010-12-21T17:41:03
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.
Description:
floor() function according to ISO C 99 with IEC 60559.
Files:
m4/floor-ieee.m4
m4/minus-zero.m4
m4/signbit.m4
Depends-on:
floor
configure.ac:
gl_FUNC_FLOOR_IEEE
Makefile.am:
Include:
<math.h>
Link:
$(FLOOR_LIBM)
License:
LGPL
Maintainer:
Bruno Haible