Date: Sun, 14 Sep 2025 12:14:13 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 4c91a542d301 - main - Fix floaing point test. Message-ID: <202509141214.58ECEDxC065218@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=4c91a542d30156ba693222c5bb85856aef004c9d commit 4c91a542d30156ba693222c5bb85856aef004c9d Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2025-09-14 11:52:16 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-09-14 12:14:02 +0000 Fix floaing point test. I botched a style fix to a pull request, and didn't catch it on amd64, but it broke almost everything else. It's a false positive to the style program and spaces cannot be inserted here. It's not math, but a funky notation. Fixes: 9dd78db9c30a --- lib/libc/tests/stdio/printfloat_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/tests/stdio/printfloat_test.c b/lib/libc/tests/stdio/printfloat_test.c index 795c7797541e..333eb3f4eb19 100644 --- a/lib/libc/tests/stdio/printfloat_test.c +++ b/lib/libc/tests/stdio/printfloat_test.c @@ -402,7 +402,7 @@ ATF_TC_WITHOUT_HEAD(hexadecimal_rounding_fullprec); ATF_TC_BODY(hexadecimal_rounding_fullprec, tc) { /* Double: %.13a with binary64 mantissa=53 */ - testfmt("0x1.1234567890bbbp+0", "%.13a", 0x1.1234567890bbbp + 0); + testfmt("0x1.1234567890bbbp+0", "%.13a", 0x1.1234567890bbbp+0); #if defined(__aarch64__) /* On arm64, long double is IEEE binary128 (mantissa=113) */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509141214.58ECEDxC065218>