1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-05-13 15:13:36 +00:00

exp2l-ieee: Work around test failure on OpenBSD 4.9 and IRIX 6.5.

* m4/exp2l-ieee.m4: New file.
* m4/exp2l.m4 (gl_FUNC_EXP2L): If gl_FUNC_EXP2L_IEEE is present,
test whether exp2l works with a NaN argument and with a negative
infinity argument. Replace it if not.
* lib/math.in.h (exp2l): Override if REPLACE_EXP2L is 1.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_EXP2L.
* modules/math (Makefile.am): Substitute REPLACE_EXP2L.
* modules/exp2l (configure.ac): Consider REPLACE_EXP2L.
(Depends-on): Update conditions.
* modules/exp2l-ieee (Files): Add m4/exp2l-ieee.m4.
(configure.ac): Invoke gl_FUNC_EXP2L_IEEE.
* doc/posix-functions/exp2l.texi: Mention the exp2l-ieee module.
This commit is contained in:
Bruno Haible
2012-03-09 02:14:26 +01:00
parent f61c11e448
commit aa42b5455c
9 changed files with 113 additions and 13 deletions

View File

@@ -2,12 +2,14 @@ Description:
exp2l() function according to ISO C 99 with IEC 60559.
Files:
m4/exp2l-ieee.m4
Depends-on:
exp2l
fpieee
configure.ac:
gl_FUNC_EXP2L_IEEE
Makefile.am: