diff options
author | Bruno Haible <bruno@clisp.org> | 2012-04-03 21:13:26 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-04-03 21:14:16 +0200 |
commit | d6d7a9dc245badda81a34e336dda7baaeee78322 (patch) | |
tree | 3392d28d0bf27211ae246208ed2620f2c9deed42 /tests/test-math-c++.cc | |
parent | 2d538ff2c61e29c9a323b5e0f300ccc3610cebab (diff) | |
download | gnulib-d6d7a9dc245badda81a34e336dda7baaeee78322.tar.gz |
New module 'ilogbf'.
* lib/math.in.h (ilogbf): New declaration.
* lib/ilogbf.c: New file.
* m4/ilogbf.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether ilogbf is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_ILOGBF, HAVE_ILOGBF,
REPLACE_ILOGBF.
* modules/math (Makefile.am): Substitute GNULIB_ILOGBF, HAVE_ILOGBF,
REPLACE_ILOGBF.
* modules/ilogbf: New file.
* tests/test-math-c++.cc: Check the declaration of ilogbf.
* doc/posix-functions/ilogbf.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 7d1cc23f48..45fc2a3808 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -194,6 +194,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::hypotl, long double, (long double, long double)); #endif +#if GNULIB_TEST_ILOGBF +SIGNATURE_CHECK (GNULIB_NAMESPACE::ilogbf, int, (float)); +#endif #if GNULIB_TEST_ILOGB SIGNATURE_CHECK (GNULIB_NAMESPACE::ilogb, int, (double)); #endif |