mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-16 01:22:18 +03:00
* 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.
24 lines
542 B
Plaintext
24 lines
542 B
Plaintext
@node floor
|
|
@section @code{floor}
|
|
@findex floor
|
|
|
|
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/floor.html}
|
|
|
|
Gnulib module: floor or floor-ieee
|
|
|
|
Portability problems fixed by either Gnulib module @code{floor} or @code{floor-ieee}:
|
|
@itemize
|
|
@end itemize
|
|
|
|
Portability problems fixed by Gnulib module @code{floor-ieee}:
|
|
@itemize
|
|
@item
|
|
This function returns a positive zero for a minus zero argument
|
|
on some platforms:
|
|
OSF/1 5.1.
|
|
@end itemize
|
|
|
|
Portability problems not fixed by Gnulib:
|
|
@itemize
|
|
@end itemize
|