summaryrefslogtreecommitdiff
path: root/tests/test-math-c++.cc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-03-11 20:50:08 +0100
committerBruno Haible <bruno@clisp.org>2012-03-11 23:28:29 +0100
commit181e39ab350fae479c96e345262d7b6a53082923 (patch)
tree9d4dce2f4efc2c7323317b8b0489f421a91ea2de /tests/test-math-c++.cc
parent93b59558b7e1f17f4dfff9cbd0e1437613a14b34 (diff)
downloadgnulib-181e39ab350fae479c96e345262d7b6a53082923.tar.gz
New module 'log2l'.
* lib/math.in.h (log2l): New declaration. * lib/log2l.c: New file. * m4/log2l.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether log2l is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_LOG2L, HAVE_DECL_LOG2L, REPLACE_LOG2L. * modules/math (Makefile.am): Substitute GNULIB_LOG2L, HAVE_DECL_LOG2L, REPLACE_LOG2L. * modules/log2l: New file. * tests/test-math-c++.cc: Check the declaration of log2l. * doc/posix-functions/log2l.texi: Mention the new module and the IRIX and OSF/1 problems.
Diffstat (limited to 'tests/test-math-c++.cc')
-rw-r--r--tests/test-math-c++.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-math-c++.cc b/tests/test-math-c++.cc
index 635145807d..9caa9511e6 100644
--- a/tests/test-math-c++.cc
+++ b/tests/test-math-c++.cc
@@ -247,6 +247,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::log2f, float, (float));
#if GNULIB_TEST_LOG2
SIGNATURE_CHECK (GNULIB_NAMESPACE::log2, double, (double));
#endif
+#if GNULIB_TEST_LOG2L
+SIGNATURE_CHECK (GNULIB_NAMESPACE::log2l, long double, (long double));
+#endif
#if GNULIB_TEST_MODFF
SIGNATURE_CHECK (GNULIB_NAMESPACE::modff, float, (float, float *));