Module Name: src
Committed By: riastradh
Date: Wed May 8 22:57:38 UTC 2024
Modified Files:
src/tests/lib/libm: t_modf.c
Log Message:
tests/lib/libm/t_modf: Mark modfl xfail on ld128.
PR lib/58237: modfl returns wrong answers on ld128 architectures
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libm/t_modf.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_modf.c
diff -u src/tests/lib/libm/t_modf.c:1.4 src/tests/lib/libm/t_modf.c:1.5
--- src/tests/lib/libm/t_modf.c:1.4 Mon May 6 18:35:59 2024
+++ src/tests/lib/libm/t_modf.c Wed May 8 22:57:37 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: t_modf.c,v 1.4 2024/05/06 18:35:59 riastradh Exp $ */
+/* $NetBSD: t_modf.c,v 1.5 2024/05/08 22:57:37 riastradh Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_modf.c,v 1.4 2024/05/06 18:35:59 riastradh Exp $");
+__RCSID("$NetBSD: t_modf.c,v 1.5 2024/05/08 22:57:37 riastradh Exp $");
#include <atf-c.h>
#include <float.h>
@@ -289,6 +289,11 @@ ATF_TC_BODY(modfl, tc)
{
unsigned n;
+#if __HAVE_LONG_DOUBLE + 0 == 128
+ atf_tc_expect_fail("PR lib/58237:"
+ " modfl returns wrong answers on ld128 architectures");
+#endif
+
for (n = 0; n < __arraycount(casesf); n++) {
long double x, i, f;