diff options
| author | Warner Losh <imp@FreeBSD.org> | 2025-09-14 11:52:16 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2025-09-14 12:14:02 +0000 |
| commit | 4c91a542d30156ba693222c5bb85856aef004c9d (patch) | |
| tree | 4aaf628d4cd3167fbf1066ee1368c424659b5c05 | |
| parent | ec7199bf3ffb73d43ce834d6cada2efe37cb4f56 (diff) | |
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
| -rw-r--r-- | lib/libc/tests/stdio/printfloat_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) */ |
