Hash :
6958256b
Author :
Date :
2021-01-31T13:19:17
log1pl: Work around musl libc bug. * doc/posix-functions/log1pl.texi: Document musl libc bug. * m4/log1pl.m4 (gl_FUNC_LOG1PL_WORKS): New macro. (gl_FUNC_LOG1PL): Invoke it.
@node log1pl
@section @code{log1pl}
@findex log1pl
POSIX specification:@* @url{https://pubs.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 9.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin 1.7.x, MSVC 9, Android 4.4.
@item
This function produces results which are accurate to only 16 digits on some
platforms:
musl libc 1.2.2/arm64, musl libc 1.2.2/s390x.
@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