view doc/posix-functions/log1pl.texi @ 16670:1fae18345ca0

log1pl-ieee: Work around test failure on IRIX 6.5. * m4/log1pl-ieee.m4: New file. * m4/log1pl.m4 (gl_FUNC_LOG1PL): If gl_FUNC_LOG1PL_IEEE is present, test whether log1pl works with a minus zero argument. Replace it if not. * lib/math.in.h (log1pl): Override if REPLACE_LOG1PL is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_LOG1PL. * modules/math (Makefile.am): Substitute REPLACE_LOG1PL. * modules/log1pl (configure.ac): Consider REPLACE_LOG1PL. (Depends-on): Update conditions. * modules/log1pl-ieee (Files): Add m4/log1p-ieee.m4, m4/minus-zero.m4, m4/signbit.m4. (configure.ac): Invoke gl_FUNC_LOG1PL_IEEE. * doc/posix-functions/log1pl.texi: Mention the log1pl-ieee module.
author Bruno Haible <bruno@clisp.org>
date Sun, 11 Mar 2012 02:36:40 +0100
parents 28ba2c8d945e
children
line wrap: on
line source

@node log1pl
@section @code{log1pl}
@findex log1pl

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/log1pl.html}

Gnulib module: log1pl or log1pl-ieee

Portability problems fixed by either Gnulib module @code{log1pl} or @code{log1pl-ieee}:
@itemize
@item
This function is missing on some platforms:
FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin, MSVC 9, Interix 3.5, BeOS.
@end itemize

Portability problems fixed by Gnulib module @code{log1pl-ieee}:
@itemize
@item
This function has problems when the argument is minus zero on some platforms:
AIX 7.1, IRIX 6.5.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize