+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.
# 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