summaryrefslogtreecommitdiff
path: root/modules/math
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-03-08 20:24:53 +0100
committerBruno Haible <bruno@clisp.org>2012-03-09 02:15:35 +0100
commitbff4a106924f9531c45661e5d163470e9faa521a (patch)
tree4e3a5a20287aa1d6b07ef9d6ed1af7773bebca4c /modules/math
parent6b168421262adda71eed4cca137c34c1a9d6b981 (diff)
downloadgnulib-bff4a106924f9531c45661e5d163470e9faa521a.tar.gz
New module 'exp2f'.
* lib/math.in.h (exp2f): New declaration. * lib/exp2f.c: New file. * m4/exp2f.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether exp2f is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_EXP2F, HAVE_DECL_EXP2F. * modules/math (Makefile.am): Substitute GNULIB_EXP2F, HAVE_DECL_EXP2F. * modules/exp2f: New file. * tests/test-math-c++.cc: Check the declaration of exp2f. * doc/posix-functions/exp2f.texi: Mention the new module and the IRIX problem.
Diffstat (limited to 'modules/math')
-rw-r--r--modules/math2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/math b/modules/math
index bb03a846d5..31166184dd 100644
--- a/modules/math
+++ b/modules/math
@@ -50,6 +50,7 @@ math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
-e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \
-e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \
-e 's/@''GNULIB_EXP2''@/$(GNULIB_EXP2)/g' \
+ -e 's/@''GNULIB_EXP2F''@/$(GNULIB_EXP2F)/g' \
-e 's/@''GNULIB_EXPM1''@/$(GNULIB_EXPM1)/g' \
-e 's/@''GNULIB_EXPM1F''@/$(GNULIB_EXPM1F)/g' \
-e 's/@''GNULIB_EXPM1L''@/$(GNULIB_EXPM1L)/g' \
@@ -172,6 +173,7 @@ math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
-e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
-e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
-e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \
+ -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \
-e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \
-e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
-e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \