Hash :
72983fb6
Author :
Date :
2012-03-10T02:48:48
logl: Work around OSF/1 5.1 bug. * lib/math.in.h (logl): Override if REPLACE_LOGL is 1. * lib/logl.c (logl): If logf exists, use it and provide just the workaround. * m4/logl.m4 (gl_FUNC_LOGL_WORKS): New macro. (gl_FUNC_LOGL): Invoke it. Set REPLACE_LOGL. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_LOGL. * modules/math (Makefile.am): Substitute REPLACE_LOGL. * modules/logl (configure.ac): Consider REPLACE_LOGL. (Depends-on): Update conditions. * doc/posix-functions/logl.texi: Mention the OSF/1 5.1 problem.
@node logl
@section @code{logl}
@findex logl
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/logl.html}
Gnulib module: logl
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin, Interix 3.5, BeOS.
@item
This function is only defined as a macro with arguments on some platforms:
MSVC 9.
@item
This function is not declared on some platforms:
MacOS X 10.3.
@item
This function returns wrong results on some platforms:
glibc 2.7 on Linux/SPARC64.
@item
This function returns a wrong value for a minus zero argument on some platforms:
OSF/1 5.1.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize