diff options
author | Bruno Haible <bruno@clisp.org> | 2012-03-08 20:24:53 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-03-09 02:15:35 +0100 |
commit | bff4a106924f9531c45661e5d163470e9faa521a (patch) | |
tree | 4e3a5a20287aa1d6b07ef9d6ed1af7773bebca4c /tests/test-math-c++.cc | |
parent | 6b168421262adda71eed4cca137c34c1a9d6b981 (diff) | |
download | gnulib-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 'tests/test-math-c++.cc')
-rw-r--r-- | tests/test-math-c++.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-math-c++.cc b/tests/test-math-c++.cc index 18ec07a910..904e927d00 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -124,6 +124,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::expf, float, (float)); SIGNATURE_CHECK (GNULIB_NAMESPACE::expl, long double, (long double)); #endif +#if GNULIB_TEST_EXP2F +SIGNATURE_CHECK (GNULIB_NAMESPACE::exp2f, float, (float)); +#endif #if GNULIB_TEST_EXP2 SIGNATURE_CHECK (GNULIB_NAMESPACE::exp2, double, (double)); #endif |