diff options
author | Bruno Haible <bruno@clisp.org> | 2012-03-01 02:50:14 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-03-01 02:50:14 +0100 |
commit | 7eb9ec92d98cf8a79c6bb977d7ba29686bf03be0 (patch) | |
tree | 103285b1fd6c57667b985bacacaf64e8b7d5dd78 /tests/test-math-c++.cc | |
parent | e201f192a237a32abced628f8f20e062c19823d1 (diff) | |
download | gnulib-7eb9ec92d98cf8a79c6bb977d7ba29686bf03be0.tar.gz |
New module 'cbrtl'.
* lib/math.in.h (cbrtl): New declaration.
* lib/cbrtl.c: New file.
* m4/cbrtl.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether cbrtl is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_CBRTL, HAVE_CBRTL,
HAVE_DECL_CBRTL.
* modules/math (Makefile.am): Substitute GNULIB_CBRTL, HAVE_CBRTL,
HAVE_DECL_CBRTL.
* modules/cbrtl: New file.
* tests/test-math-c++.cc: Check the declaration of cbrtl.
* doc/posix-functions/cbrtl.texi: Mention the new module.
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 a0a687426b..a2911be98d 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -74,6 +74,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::cbrtf, float, (float)); #if GNULIB_TEST_CBRT SIGNATURE_CHECK (GNULIB_NAMESPACE::cbrt, double, (double)); #endif +#if GNULIB_TEST_CBRTL +SIGNATURE_CHECK (GNULIB_NAMESPACE::cbrtl, long double, (long double)); +#endif #if GNULIB_TEST_CEILF SIGNATURE_CHECK (GNULIB_NAMESPACE::ceilf, float, (float)); |