Hash :
937471db
Author :
Date :
2012-03-14T03:25:16
hypotl: Bypass broken implementation in OpenBSD 5.1/SPARC. * m4/hypotl.m4 (gl_FUNC_HYPOTL_WORKS): New macro. (gl_FUNC_HYPOTL): Invoke it. If the function does not work, set REPLACE_HYPOTL to 1. * doc/posix-functions/hypotl.texi: Mention the OpenBSD 5.1/SPARC bug.
@node hypotl
@section @code{hypotl}
@findex hypotl
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/hypotl.html}
Gnulib module: hypotl or hypotl-ieee
Portability problems fixed by either Gnulib module @code{hypotl} or @code{hypotl-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, IRIX 6.5, Solaris 9, Cygwin, MSVC 9, Interix 3.5, BeOS.
@item
This function produces very imprecise results on some platforms:
OpenBSD 5.1/SPARC.
@end itemize
Portability problems fixed by Gnulib module @code{hypotl-ieee}:
@itemize
@item
When the arguments are mixed NaN and Infinity, this function returns a wrong
value on some platforms:
OSF/1 5.1, mingw, MSVC 9.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize