diff options
author | Bruno Haible <bruno@clisp.org> | 2019-11-21 11:44:07 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-11-21 11:44:07 +0100 |
commit | d9803384537f7ec04a7a9aa8641677dc3eab6a3c (patch) | |
tree | da63c1a32071afa13dc4698eb62810799315f0c2 /tests/test-math-c++.cc | |
parent | a075275a0e6782bc12044609893b5c9e37ea631f (diff) | |
download | gnulib-d9803384537f7ec04a7a9aa8641677dc3eab6a3c.tar.gz |
math tests: Update after 2019-08-28 change.
* tests/test-math-c++.cc (isfinite, isinf, isnan, signbit): Expect a
return type of 'bool', not 'int'.
Diffstat (limited to 'tests/test-math-c++.cc')
-rw-r--r-- | tests/test-math-c++.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-math-c++.cc b/tests/test-math-c++.cc index 74569d39e0..57bfd1be9c 100644 --- a/tests/test-math-c++.cc +++ b/tests/test-math-c++.cc @@ -385,28 +385,28 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::truncl, long double, (long double)); # ifdef isfinite # error "isfinite should not be a macro in C++" # endif -REAL_FLOATING_CHECK (isfinite, int, (float), int, (double), int, (long double)); +REAL_FLOATING_CHECK (isfinite, bool, (float), bool, (double), bool, (long double)); #endif #if GNULIB_TEST_ISINF # ifdef isinf # error "isinf should not be a macro in C++" # endif -REAL_FLOATING_CHECK (isinf, int, (float), int, (double), int, (long double)); +REAL_FLOATING_CHECK (isinf, bool, (float), bool, (double), bool, (long double)); #endif #if GNULIB_TEST_ISNAN # ifdef isnan # error "isnan should not be a macro in C++" # endif -REAL_FLOATING_CHECK (isnan, int, (float), int, (double), int, (long double)); +REAL_FLOATING_CHECK (isnan, bool, (float), bool, (double), bool, (long double)); #endif #if GNULIB_TEST_SIGNBIT # ifdef signbit # error "signbit should not be a macro in C++" # endif -REAL_FLOATING_CHECK (signbit, int, (float), int, (double), int, (long double)); +REAL_FLOATING_CHECK (signbit, bool, (float), bool, (double), bool, (long double)); #endif |