mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-16 01:22:18 +03:00
* 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.
30 lines
851 B
Plaintext
30 lines
851 B
Plaintext
@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
|