Suggested by Pali Rohár <pali.rohar@gmail.com>.
* tests/test-fenv-except-trapping-1.c (main): Add an assertion.
+2026-04-10 Bruno Haible <bruno@clisp.org>
+
+ fenv-exceptions-trapping tests: Make test more debugging friendly.
+ Suggested by Pali Rohár <pali.rohar@gmail.com>.
+ * tests/test-fenv-except-trapping-1.c (main): Add an assertion.
+
2026-04-10 Bruno Haible <bruno@clisp.org>
sigprocmask: Allow single-thread optimization again.
fputs ("Skipping test: trapping floating-point exceptions are not supported on this machine.\n", stderr);
return 77;
}
+ /* Check fegetexcept. */
+ ASSERT (fegetexcept () == uint_to_exceptions (a));
+ /* Check the return value of fedisableexcept. It should be consistent
+ with fegetexcept. */
ASSERT (fedisableexcept (uint_to_exceptions (b))
== uint_to_exceptions (a));
/* Check fegetexcept. */