summaryrefslogtreecommitdiff
path: root/tests/test-math-c++.cc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-03-11 00:48:36 +0100
committerBruno Haible <bruno@clisp.org>2012-03-11 02:40:33 +0100
commit0109cf664612c71e689953161d13755807169329 (patch)
treec01fb2cec32444b1eb946a23a03d1bf3d1b2ee80 /tests/test-math-c++.cc
parentf09d8785b3d49d1a0281ada9c7f002328390dfca (diff)
downloadgnulib-0109cf664612c71e689953161d13755807169329.tar.gz
New module 'log1pl'.
* lib/math.in.h (log1pl): New declaration. * lib/log1pl.c: New file. * m4/log1pl.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether log1pl is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_LOG1PL, HAVE_LOG1PL. * modules/math (Makefile.am): Substitute GNULIB_LOG1PL, HAVE_LOG1PL. * modules/log1pl: New file. * tests/test-math-c++.cc: Check the declaration of log1pl. * doc/posix-functions/log1pl.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 6b3c299c0f..15970441c0 100644
--- a/tests/test-math-c++.cc
+++ b/tests/test-math-c++.cc
@@ -221,6 +221,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::log1pf, float, (float));
#if GNULIB_TEST_LOG1P
SIGNATURE_CHECK (GNULIB_NAMESPACE::log1p, double, (double));
#endif
+#if GNULIB_TEST_LOG1PL
+SIGNATURE_CHECK (GNULIB_NAMESPACE::log1pl, long double, (long double));
+#endif
//SIGNATURE_CHECK (GNULIB_NAMESPACE::logb, double, (double));