| commit | 59830ec1d93be038ffe883b69229753bb18ff59e | [log] [tgz] |
|---|---|---|
| author | LIU Hao <lh_mouse@126.com> | Wed Nov 26 13:35:02 2025 +0800 |
| committer | LIU Hao <lh_mouse@126.com> | Wed Nov 26 13:54:04 2025 +0800 |
| tree | 71877b59b3b9993b66f0cd2e21d8325f3947fc5e | |
| parent | 1141144b5d65231ee7bfa77b8c6429871f06e654 [diff] |
crt/stdio: Ensure `__pformat_intarg_t exponent` is fully initialized
Previously, `__pformat_emit_efloat()` initialized only its lower 8 bytes. If
the CRT was configured with `--enable-experimental=printf128`, the higher 8
bytes were indeterminate.
This error was observed in one of GCC's self tests, where something such as
`printf("%g\n", (float)123456789);` gave incorrect results like
`1.23457e+773810688247020537949736540986933256`.
Signed-off-by: LIU Hao <lh_mouse@126.com>