1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-18 23:42:00 +03:00

remainderl: Bypass broken implementation in OpenBSD 5.1/SPARC.

* m4/remainderl.m4 (gl_FUNC_REMAINDERL_WORKS): New macro.
(gl_FUNC_REMAINDERL): Invoke it. If the function does not work, set
REPLACE_REMAINDERL to 1.
* doc/posix-functions/remainderl.texi: Mention the OpenBSD 5.1/SPARC
bug.
This commit is contained in:
Bruno Haible
2012-03-14 02:40:49 +01:00
parent 689d4cc536
commit 77d42cc5aa
3 changed files with 66 additions and 1 deletions

View File

@@ -14,6 +14,9 @@ FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, older IRIX
@item
This function is not declared on some platforms:
IRIX 6.5.
@item
This function returns completely wrong values on some platforms:
OpenBSD 5.1/SPARC.
@end itemize
Portability problems fixed by Gnulib module @code{remainderl-ieee}: