Hash :
14a3c6e4
Author :
Date :
2012-03-10T16:05:56
logf-ieee: Work around test failure on NetBSD 5.1. * m4/logf-ieee.m4: New file. * m4/logf.m4 (gl_FUNC_LOGF): If gl_FUNC_LOGF_IEEE is present, test whether logf works with a negative argument. Replace it if not. * lib/logf.c (logf): For negative arguments, return NaN. * modules/logf-ieee (Files): Add m4/logf-ieee.m4. (configure.ac): Invoke gl_FUNC_LOGF_IEEE. * doc/posix-functions/logf.texi: Mention the logf-ieee module.
@node logf
@section @code{logf}
@findex logf
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/logf.html}
Gnulib module: logf or logf-ieee
Portability problems fixed by either Gnulib module @code{logf} or @code{logf-ieee}:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8, AIX 5.1, Solaris 9.
@item
This function is only defined as a macro with arguments on some platforms:
MSVC 9.
@item
This function returns a wrong value for a minus zero argument on some platforms:
OSF/1 5.1.
@end itemize
Portability problems fixed by Gnulib module @code{logf-ieee}:
@itemize
@item
This function returns a wrong value for a negative argument on some platforms:
NetBSD 5.1.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize