diff options
author | Bruno Haible <bruno@clisp.org> | 2011-10-08 22:18:44 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-10-08 22:18:44 +0200 |
commit | 54a8ff340a865f5409072565e5b199c4451ea60e (patch) | |
tree | 723ff6eb43d48c0623741123f99f876d3b466b91 /tests/test-math-c++.cc | |
parent | 5ee056682b93c9282a02587c825b46eb1e64ee0d (diff) | |
download | gnulib-54a8ff340a865f5409072565e5b199c4451ea60e.tar.gz |
New module 'logf'.
* lib/math.in.h (logf): New declaration.
* lib/logf.c: New file.
* m4/logf.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether logf is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_LOGF, HAVE_LOGF.
* modules/math (Makefile.am): Substitute GNULIB_LOGF, HAVE_LOGF.
* modules/logf: New file.
* tests/test-math-c++.cc: Check the declaration of logf.
* doc/posix-functions/logf.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 9461fab421..6a59450e75 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -64,6 +64,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::ldexpf, float, (float, int)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::log10, double, (double)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::log1p, double, (double)); //SIGNATURE_CHECK (GNULIB_NAMESPACE::logb, double, (double)); +#if GNULIB_TEST_LOGF +SIGNATURE_CHECK (GNULIB_NAMESPACE::logf, float, (float)); +#endif //SIGNATURE_CHECK (GNULIB_NAMESPACE::log, double, (double)); #if GNULIB_TEST_MODFF SIGNATURE_CHECK (GNULIB_NAMESPACE::modff, float, (float, float *)); |