Module Name: src Committed By: riastradh Date: Sat May 11 01:44:12 UTC 2024
Modified Files: src/tests/lib/libm: t_next.c Log Message: tests/lib/libm/t_next: nexttoward works if it's just nextafter. It's broken on platforms where long double and double aren't the same and nexttoward isn't an alias for nextafter. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libm/t_next.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_next.c diff -u src/tests/lib/libm/t_next.c:1.4 src/tests/lib/libm/t_next.c:1.5 --- src/tests/lib/libm/t_next.c:1.4 Wed May 8 17:27:03 2024 +++ src/tests/lib/libm/t_next.c Sat May 11 01:44:12 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: t_next.c,v 1.4 2024/05/08 17:27:03 riastradh Exp $ */ +/* $NetBSD: t_next.c,v 1.5 2024/05/11 01:44:12 riastradh Exp $ */ /*- * Copyright (c) 2024 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_next.c,v 1.4 2024/05/08 17:27:03 riastradh Exp $"); +__RCSID("$NetBSD: t_next.c,v 1.5 2024/05/11 01:44:12 riastradh Exp $"); #include <atf-c.h> #include <float.h> @@ -391,7 +391,9 @@ ATF_TC_BODY(next_near_0, tc) #endif }; +#ifdef __HAVE_LONG_DOUBLE atf_tc_expect_fail("PR 58236: nexttoward(3) is broken on subnormals"); +#endif check(x, __arraycount(x)); }