view doc/posix-functions/log10f.texi @ 16747:676471a1cb33

log10f-ieee: Work around test failure on NetBSD 5.1. * m4/log10f-ieee.m4: New file. * m4/log10f.m4 (gl_FUNC_LOG10F): If gl_FUNC_LOG10F_IEEE is present, test whether log10f works with a negative argument. Replace it if not. * lib/log10f.c (log10f): For negative arguments, return NaN. * modules/log10f-ieee (Files): Add m4/log10f-ieee.m4. (configure.ac): Invoke gl_FUNC_LOG10F_IEEE. * doc/posix-functions/log10f.texi: Mention the log10f-ieee module.
author Bruno Haible <bruno@clisp.org>
date Sun, 01 Apr 2012 17:56:33 +0200
parents 6828b991e3b9
children
line wrap: on
line source

@node log10f
@section @code{log10f}
@findex log10f

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

Gnulib module: log10f or log10f-ieee

Portability problems fixed by either Gnulib module @code{log10f} or @code{log10f-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{log10f-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