1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-16 01:22:18 +03:00
Files
gnulib/doc/posix-functions/expl.texi
Assaf Gordon 187808c6c5 expl: avoid incorrect expl(small_value) on OpenBSD 5.4
OpenBSD 5.4, expl() incorrectly returns 'nan' for small values.
Detect this and use gnulib's expl() in that case.

Discussed here:
http://marc.info/?t=139159081700002&r=1&w=2
(Message from David Coppa on 2014-02-05 to openbsd-tech mailing list).

Fixed here (in revision 1.2):
http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libm/src/ld128/s_floorl.c

* m4/expl.m4 (gl_FUNC_EXPL): Add a check for this condition.
* doc/posix-functions/expl.texi: Mention the workaround.
2014-04-16 23:12:55 +01:00

28 lines
672 B
Plaintext

@node expl
@section @code{expl}
@findex expl
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/expl.html}
Gnulib module: expl
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin, Interix 3.5, BeOS.
@item
This function returns NaN for small operands:
OpenBSD 5.4.
@item
This function is only defined as a macro with arguments on some platforms:
MSVC 9.
@item
This function is not declared on some platforms:
Mac OS X 10.3.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize