Module Name: src
Committed By: riastradh
Date: Wed May 8 22:59:07 UTC 2024
Modified Files:
src/tests/lib/libm: t_fe_round.c
Log Message:
tests/lib/libm/t_fe_round: xfail for modfl uses.
PR lib/58237: modfl returns wrong answers on ld128 architectures
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/tests/lib/libm/t_fe_round.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libm/t_fe_round.c
diff -u src/tests/lib/libm/t_fe_round.c:1.17 src/tests/lib/libm/t_fe_round.c:1.18
--- src/tests/lib/libm/t_fe_round.c:1.17 Sun May 5 23:08:53 2024
+++ src/tests/lib/libm/t_fe_round.c Wed May 8 22:59:07 2024
@@ -391,6 +391,12 @@ ATF_TC_BODY(fe_nearbyintl_rintl, tc)
fnname[fn], valuesl[i].input);
}
+#if __HAVE_LONG_DOUBLE + 0 == 128
+ atf_tc_expect_fail("PR lib/58237:"
+ " modfl returns wrong answers"
+ " on ld128 architectures");
+#endif
+
/*
* Verify the fractional part of the result is
* zero -- the result of rounding to an integer