On Wed, 26 Nov 2025, LIU Hao wrote:

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 <[email protected]>
---
mingw-w64-crt/stdio/mingw_pformat.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Both of these patches look ok to me.

// Martin



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to