Hash :
aa42b545
Author :
Date :
2012-03-09T02:14:26
exp2l-ieee: Work around test failure on OpenBSD 4.9 and IRIX 6.5. * m4/exp2l-ieee.m4: New file. * m4/exp2l.m4 (gl_FUNC_EXP2L): If gl_FUNC_EXP2L_IEEE is present, test whether exp2l works with a NaN argument and with a negative infinity argument. Replace it if not. * lib/math.in.h (exp2l): Override if REPLACE_EXP2L is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_EXP2L. * modules/math (Makefile.am): Substitute REPLACE_EXP2L. * modules/exp2l (configure.ac): Consider REPLACE_EXP2L. (Depends-on): Update conditions. * modules/exp2l-ieee (Files): Add m4/exp2l-ieee.m4. (configure.ac): Invoke gl_FUNC_EXP2L_IEEE. * doc/posix-functions/exp2l.texi: Mention the exp2l-ieee module.
@node exp2l
@section @code{exp2l}
@findex exp2l
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/exp2l.html}
Gnulib module: exp2l or exp2l-ieee
Portability problems fixed by either Gnulib module @code{exp2l} or @code{exp2l-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, older IRIX 6.5, OSF/1 4.0, Solaris 9, Cygwin, MSVC 9, Interix 3.5, BeOS.
@item
This function is not declared on some platforms:
IRIX 6.5.
@end itemize
Portability problems fixed by Gnulib module @code{exp2l-ieee}:
@itemize
@item
This function returns a wrong value for a NaN argument on some platforms:
OpenBSD 4.9.
@item
This function returns a wrong value for a negative infinity argument on some platforms:
IRIX 6.5.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize