summaryrefslogtreecommitdiff
path: root/tests/test-math-c++.cc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-04-03 12:53:31 +0200
committerBruno Haible <bruno@clisp.org>2012-04-03 14:03:21 +0200
commit032debd69f3b84239767c727598fb3237a3eeaca (patch)
treeec408183718f93c5187200c799cdb3631d82cad6 /tests/test-math-c++.cc
parent96f114731b7af0b45b563012d57dfe008652102c (diff)
downloadgnulib-032debd69f3b84239767c727598fb3237a3eeaca.tar.gz
New module 'logbl'.
* lib/math.in.h (logbl): New declaration. * lib/logbl.c: New file. * m4/logbl.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether logbl is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_LOGBL, HAVE_LOGBL, REPLACE_LOGBL. * modules/math (Makefile.am): Substitute GNULIB_LOGBL, HAVE_LOGBL, REPLACE_LOGBL. * modules/logbl: New file. * tests/test-math-c++.cc: Check the declaration of logbl. * doc/posix-functions/logbl.texi: Mention the new module.
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 1821dd29de..2c616b36f5 100644
--- a/tests/test-math-c++.cc
+++ b/tests/test-math-c++.cc
@@ -257,6 +257,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::logbf, float, (float));
#if GNULIB_TEST_LOGB
SIGNATURE_CHECK (GNULIB_NAMESPACE::logb, double, (double));
#endif
+#if GNULIB_TEST_LOGBL
+SIGNATURE_CHECK (GNULIB_NAMESPACE::logbl, long double, (long double));
+#endif
#if GNULIB_TEST_MODFF
SIGNATURE_CHECK (GNULIB_NAMESPACE::modff, float, (float, float *));