summaryrefslogtreecommitdiff
path: root/tests/test-math-c++.cc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-02-29 13:22:12 +0100
committerBruno Haible <bruno@clisp.org>2012-02-29 13:22:12 +0100
commit178834fedcf12d09655bb0c11d8ff74b650989e6 (patch)
tree011851f6c9f8b51182871473dd8b4987d0343697 /tests/test-math-c++.cc
parentfb88b295e090486496c869d44a7b47ee8cbc4071 (diff)
downloadgnulib-178834fedcf12d09655bb0c11d8ff74b650989e6.tar.gz
New module 'hypotf'.
* lib/math.in.h (hypotf): New declaration. * lib/hypotf.c: New file. * m4/hypotf.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether hypotf is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_HYPOTF, HAVE_HYPOTF, REPLACE_HYPOTF. * modules/math (Makefile.am): Substitute GNULIB_HYPOTF, HAVE_HYPOTF, REPLACE_HYPOTF. * modules/hypotf: New file. * tests/test-math-c++.cc: Check the hypotf declaration. * doc/posix-functions/hypotf.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 b6534f0268..05ea2144e2 100644
--- a/tests/test-math-c++.cc
+++ b/tests/test-math-c++.cc
@@ -155,6 +155,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::frexp, double, (double, int *));
SIGNATURE_CHECK (GNULIB_NAMESPACE::frexpl, long double, (long double, int *));
#endif
+#if GNULIB_TEST_HYPOTF
+SIGNATURE_CHECK (GNULIB_NAMESPACE::hypotf, float, (float, float));
+#endif
//SIGNATURE_CHECK (GNULIB_NAMESPACE::hypot, double, (double, double));
//SIGNATURE_CHECK (GNULIB_NAMESPACE::j0, double, (double));