diff options
author | Bruno Haible <bruno@clisp.org> | 2012-03-06 21:24:28 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-03-06 22:55:00 +0100 |
commit | fef5744cfb2fe5d6241e66a8e736f6926e7ea621 (patch) | |
tree | bb5193c3aa376c36ecd30d7d09f3aa29b9db7268 /tests/test-math-c++.cc | |
parent | 1dfc40fc5d4a95929926c750aac9dc33efe401fc (diff) | |
download | gnulib-fef5744cfb2fe5d6241e66a8e736f6926e7ea621.tar.gz |
New module 'expm1f'.
* lib/math.in.h (expm1f): New declaration.
* lib/expm1f.c: New file.
* m4/expm1f.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether expm1f is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_EXPM1F, HAVE_EXPM1F.
* modules/math (Makefile.am): Substitute GNULIB_EXPM1F, HAVE_EXPM1F.
* modules/expm1f: New file.
* tests/test-math-c++.cc: Check the declaration of expm1f.
* doc/posix-functions/expm1f.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 9648486fb9..6b79bb0370 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -124,6 +124,9 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::expf, float, (float)); SIGNATURE_CHECK (GNULIB_NAMESPACE::expl, long double, (long double)); #endif +#if GNULIB_TEST_EXPM1F +SIGNATURE_CHECK (GNULIB_NAMESPACE::expm1f, float, (float)); +#endif #if GNULIB_TEST_EXPM1 SIGNATURE_CHECK (GNULIB_NAMESPACE::expm1, double, (double)); #endif |