tests/lib/libm/t_modf: Mark modfl xfail on ld128.

PR lib/58237: modfl returns wrong answers on ld128 architectures
This commit is contained in:
riastradh 2024-05-08 22:57:37 +00:00
parent 40fb0c39c9
commit 03e019893b
1 changed files with 7 additions and 2 deletions

View File

@ -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;