mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
* modules/ceil-ieee: New file. * m4/ceil.m4 (gl_FUNC_CEIL): Require gl_MATH_H_DEFAULTS. If gl_FUNC_CEIL_IEEE is also used, test whether ceil works according to ISO C 99 with IEC 60559. * m4/ceil-ieee.m4: New file. * modules/ceil (Files): Add lib/ceil.c. (Depends-on): Add 'float'. (configure.ac): Invoke gl_MATH_MODULE_INDICATOR. * lib/math.in.h (ceil): New declaration. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_CEIL, REPLACE_CEIL. * modules/math (Makefile.am): Substitute GNULIB_CEIL, REPLACE_CEIL. * modules/ceil-ieee-tests: New file. * tests/test-ceil-ieee.c: New file, based on tests/test-ceilf-ieee.c. * tests/test-math-c++.cc: Check the signature of 'ceil'. * doc/posix-functions/ceil.texi: Mention the new module.
24 lines
533 B
Plaintext
24 lines
533 B
Plaintext
@node ceil
|
|
@section @code{ceil}
|
|
@findex ceil
|
|
|
|
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/ceil.html}
|
|
|
|
Gnulib module: ceil or ceil-ieee
|
|
|
|
Portability problems fixed by either Gnulib module @code{ceil} or @code{ceil-ieee}:
|
|
@itemize
|
|
@end itemize
|
|
|
|
Portability problems fixed by Gnulib module @code{ceil-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
|