diff options
author | Bruno Haible <bruno@clisp.org> | 2012-03-09 01:13:40 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-03-09 02:15:36 +0100 |
commit | 6be810275c790f43e4c155fef6b073d3c3a75a21 (patch) | |
tree | b2d257e30e2597dcd68e42a6190afd3060d80273 /tests/test-math-c++.cc | |
parent | 7d52716d691e4cd4c01734f9a40d5e1d52301c2d (diff) | |
download | gnulib-6be810275c790f43e4c155fef6b073d3c3a75a21.tar.gz |
New module 'exp2l'.
* lib/math.in.h (exp2l): New declaration.
* lib/exp2l.c: New file.
* lib/expl-table.c: New file, extracted from lib/expl.c.
* lib/expl.c (gl_expl_table): New declaration.
(expl): Remove expl_table. Update reference.
* m4/exp2l.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether exp2l is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_EXP2L, HAVE_DECL_EXP2L.
* modules/math (Makefile.am): Substitute GNULIB_EXP2L, HAVE_DECL_EXP2L.
* modules/exp2l: New file.
* modules/expl (Files): Add lib/expl-table.c.
(configure.ac): Compile also expl-table.c.
* tests/test-math-c++.cc: Check the declaration of exp2l.
* doc/posix-functions/exp2l.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 904e927d00..ed061d86ff 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -130,6 +130,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::exp2f, float, (float)); #if GNULIB_TEST_EXP2 SIGNATURE_CHECK (GNULIB_NAMESPACE::exp2, double, (double)); #endif +#if GNULIB_TEST_EXP2L +SIGNATURE_CHECK (GNULIB_NAMESPACE::exp2l, long double, (long double)); +#endif #if GNULIB_TEST_EXPM1F SIGNATURE_CHECK (GNULIB_NAMESPACE::expm1f, float, (float)); |