]> Savannah Git Hosting - gnulib.git/commitdiff
math tests: Update after 2019-08-28 change.
authorBruno Haible <bruno@clisp.org>
Thu, 21 Nov 2019 10:44:07 +0000 (11:44 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 21 Nov 2019 10:44:07 +0000 (11:44 +0100)
* tests/test-math-c++.cc (isfinite, isinf, isnan, signbit): Expect a
return type of 'bool', not 'int'.

ChangeLog
tests/test-math-c++.cc

index 23e8176022afd057066a3b0880275da167d3ee91..0a7006ce23a32b65fe5b7d1ebc1f92dd3ee1cc8c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-11-21  Bruno Haible  <bruno@clisp.org>
+
+       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'.
+
 2019-11-21  Bruno Haible  <bruno@clisp.org>
 
        pthread-spin: Fix errors in C++ mode.
index 74569d39e039bcddbd60a611d94ed4f8644e7a87..57bfd1be9c572770bd5041a53c9f4f7be42eec6d 100644 (file)
@@ -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