diff options
author | Bruno Haible <bruno@clisp.org> | 2012-04-03 21:58:52 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-04-03 21:58:52 +0200 |
commit | 811b6ef05c574d054648a2f41bc5a2efc92f5371 (patch) | |
tree | 8a403fc81665acffa95698c3cd76c76d4eba3205 /tests | |
parent | afecf4a0bde14016fb4ab2a18395d82cfbc0fe28 (diff) | |
download | gnulib-811b6ef05c574d054648a2f41bc5a2efc92f5371.tar.gz |
New module 'ilogbl'.
* lib/math.in.h (ilogbl): New declaration.
* lib/ilogbl.c: New file.
* m4/ilogbl.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether ilogbl is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_ILOGBL, HAVE_ILOGBL.
* modules/math (Makefile.am): Substitute GNULIB_ILOGBL, HAVE_ILOGBL.
Split sed invocation, to avoid the limit of 100 substitutions of
HP-UX 'sed'.
* modules/ilogbl: New file.
* tests/test-math-c++.cc: Check the declaration of ilogbl.
* doc/posix-functions/ilogbl.texi: Mention the new module.
Diffstat (limited to 'tests')
-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 45fc2a3808..00ed7d0081 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -200,6 +200,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::ilogbf, int, (float)); #if GNULIB_TEST_ILOGB SIGNATURE_CHECK (GNULIB_NAMESPACE::ilogb, int, (double)); #endif +#if GNULIB_TEST_ILOGBL +SIGNATURE_CHECK (GNULIB_NAMESPACE::ilogbl, int, (long double)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::j0, double, (double)); |