git: 455426da078c - main - Fix floaing point test. (again)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Sep 2025 14:49:34 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=455426da078cbbea8160bf4232b3fd1ae56e2ff5 commit 455426da078cbbea8160bf4232b3fd1ae56e2ff5 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2025-09-14 14:48:40 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-09-14 14:48:40 +0000 Fix floaing point test. (again) 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 333eb3f4eb19..4493fe1c15d3 100644 --- a/lib/libc/tests/stdio/printfloat_test.c +++ b/lib/libc/tests/stdio/printfloat_test.c @@ -406,7 +406,7 @@ ATF_TC_BODY(hexadecimal_rounding_fullprec, tc) #if defined(__aarch64__) /* On arm64, long double is IEEE binary128 (mantissa=113) */ - testfmt("0x1.3c0ca428c59fbbbbbbbbbbbbbbbbp+0", "%.28La", 0x1.3c0ca428c59fbbbbbbbbbbbbbbbbp + 0L); + testfmt("0x1.3c0ca428c59fbbbbbbbbbbbbbbbbp+0", "%.28La", 0x1.3c0ca428c59fbbbbbbbbbbbbbbbbp+0L); #endif }