diff options
author | Bruno Haible <bruno@clisp.org> | 2012-03-11 17:57:12 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-03-11 23:28:22 +0100 |
commit | 6e3a819d76f9c40a95702409f1f838b2a6ffb186 (patch) | |
tree | ef14fdda0a2ab7980043937eb832c2cc289dc30e /tests/test-math-c++.cc | |
parent | aecb8f2dcca8420384ffd76d06de443cf82b6187 (diff) | |
download | gnulib-6e3a819d76f9c40a95702409f1f838b2a6ffb186.tar.gz |
New module 'log2f'.
* lib/math.in.h (log2f): New declaration.
* lib/log2f.c: New file.
* m4/log2f.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether log2f is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_LOG2F, HAVE_DECL_LOG2F,
REPLACE_LOG2F.
* modules/math (Makefile.am): Substitute GNULIB_LOG2F, HAVE_DECL_LOG2F,
REPLACE_LOG2F.
* modules/log2f: New file.
* tests/test-math-c++.cc: Check the declaration of log2f.
* doc/posix-functions/log2f.texi: Mention the new module and the IRIX
and OSF/1 and Cygwin problems.
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 efaadebed5..635145807d 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -241,6 +241,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::logl, long double, (long double)); SIGNATURE_CHECK (GNULIB_NAMESPACE::log10f, float, (float)); #endif +#if GNULIB_TEST_LOG2F +SIGNATURE_CHECK (GNULIB_NAMESPACE::log2f, float, (float)); +#endif #if GNULIB_TEST_LOG2 SIGNATURE_CHECK (GNULIB_NAMESPACE::log2, double, (double)); #endif |