diff options
author | Bruno Haible <bruno@clisp.org> | 2012-04-03 04:44:59 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-04-03 14:01:40 +0200 |
commit | 6c8149d7e17e4cbc70c3a777b746ac42fb3f8d5c (patch) | |
tree | 5c89c9003ee5e6f92a3e6e1366d6b8089c122a38 /tests/test-math-c++.cc | |
parent | 36d2768bd34a963cf2b4604e3f54d904ed9f17dd (diff) | |
download | gnulib-6c8149d7e17e4cbc70c3a777b746ac42fb3f8d5c.tar.gz |
New module 'logbf'.
* lib/math.in.h (logbf): New declaration.
* lib/logbf.c: New file.
* m4/logbf.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether logbf is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_LOGBF, HAVE_LOGBF,
REPLACE_LOGBF.
* modules/math (Makefile.am): Substitute GNULIB_LOGBF, HAVE_LOGBF,
REPLACE_LOGBF.
* modules/logbf: New file.
* tests/test-math-c++.cc: Check the declaration of logbf.
* doc/posix-functions/logbf.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 492e54a036..1821dd29de 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -251,6 +251,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::log2, double, (double)); SIGNATURE_CHECK (GNULIB_NAMESPACE::log2l, long double, (long double)); #endif +#if GNULIB_TEST_LOGBF +SIGNATURE_CHECK (GNULIB_NAMESPACE::logbf, float, (float)); +#endif #if GNULIB_TEST_LOGB SIGNATURE_CHECK (GNULIB_NAMESPACE::logb, double, (double)); #endif |