mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-16 01:22:18 +03:00
* m4/log1p-ieee.m4: New file. * m4/log1p.m4 (gl_FUNC_LOG1P): If gl_FUNC_LOG1P_IEEE is present, test whether log1p works with a minus zero argument. Replace it if not. * lib/math.in.h (log1p): Override if REPLACE_LOG1P is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_LOG1P. * modules/math (Makefile.am): Substitute REPLACE_LOG1P. * modules/log1p (configure.ac): Consider REPLACE_LOG1P. (Depends-on): Update conditions. * modules/log1p-ieee (Files): Add m4/log1p-ieee.m4, m4/minus-zero.m4, m4/signbit.m4. (configure.ac): Invoke gl_FUNC_LOG1P_IEEE. * doc/posix-functions/log1p.texi: Mention the log1p-ieee module.
26 lines
616 B
Plaintext
26 lines
616 B
Plaintext
@node log1p
|
|
@section @code{log1p}
|
|
@findex log1p
|
|
|
|
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/log1p.html}
|
|
|
|
Gnulib module: log1p or log1p-ieee
|
|
|
|
Portability problems fixed by either Gnulib module @code{log1p} or @code{log1p-ieee}:
|
|
@itemize
|
|
@item
|
|
This function is missing on some platforms:
|
|
Minix 3.1.8, MSVC 9.
|
|
@end itemize
|
|
|
|
Portability problems fixed by Gnulib module @code{log1p-ieee}:
|
|
@itemize
|
|
@item
|
|
This function has problems when the argument is minus zero on some platforms:
|
|
AIX 7.1, HP-UX 11.
|
|
@end itemize
|
|
|
|
Portability problems not fixed by Gnulib:
|
|
@itemize
|
|
@end itemize
|