diff options
author | Bruno Haible <bruno@clisp.org> | 2012-03-01 02:03:36 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-03-01 02:03:36 +0100 |
commit | af95cd82312c495ebe5336adf88c882ca7c0fc7f (patch) | |
tree | a14c996f949b5712fd19d9b7f4989cfdb18f1fad /tests/test-math-c++.cc | |
parent | a0dccde75e6a3b9c930e3577fae7a5bf9351ec09 (diff) | |
download | gnulib-af95cd82312c495ebe5336adf88c882ca7c0fc7f.tar.gz |
New module 'cbrtf'.
* lib/math.in.h (cbrtf): New declaration.
* lib/cbrtf.c: New file.
* m4/cbrtf.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether cbrtf is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_CBRTF, HAVE_CBRTF,
HAVE_DECL_CBRTF.
* modules/math (Makefile.am): Substitute GNULIB_CBRTF, HAVE_CBRTF,
HAVE_DECL_CBRTF.
* modules/cbrtf: New file.
* tests/test-math-c++.cc: Check the declaration of cbrtf.
* doc/posix-functions/cbrtf.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 e79cb0b06e..a0a687426b 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -68,6 +68,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::atan2f, float, (float, float)); #endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::atan2, double, (double, double)); +#if GNULIB_TEST_CBRTF +SIGNATURE_CHECK (GNULIB_NAMESPACE::cbrtf, float, (float)); +#endif #if GNULIB_TEST_CBRT SIGNATURE_CHECK (GNULIB_NAMESPACE::cbrt, double, (double)); #endif |