Re: [Mingw-w64-public] [PATCH] Implement formatting function for hexadecimal double.

2021-08-25 Thread Martin Storsjö
On Thu, 19 Aug 2021, Patrick Northon wrote: I have attached a new patch that remove the "fix" in `__pformat_int`. I noticed that it will print zero if stream->precision isn't 0 and the original `__pformat_emit_xfloat` would end with that precision value being -1. Please do send that fix - in

Re: [Mingw-w64-public] [PATCH] Implement formatting function for hexadecimal double.

2021-08-19 Thread Patrick Northon via Mingw-w64-public
On 2021-08-19 02 h 16, Martin Storsjö wrote: On Thu, 19 Aug 2021, Patrick Northon via Mingw-w64-public wrote: The behavior should match glibc and format double floating-points in hexadecimal in normalized form. Also fix a problem where an exponent of zero wasn't printed. Can you give concret

Re: [Mingw-w64-public] [PATCH] Implement formatting function for hexadecimal double.

2021-08-18 Thread Martin Storsjö
On Thu, 19 Aug 2021, Patrick Northon via Mingw-w64-public wrote: The behavior should match glibc and format double floating-points in hexadecimal in normalized form. Also fix a problem where an exponent of zero wasn't printed. Can you give concrete examples of printf invocations that this fix

[Mingw-w64-public] [PATCH] Implement formatting function for hexadecimal double.

2021-08-18 Thread Patrick Northon via Mingw-w64-public
The behavior should match glibc and format double floating-points in hexadecimal in normalized form. Also fix a problem where an exponent of zero wasn't printed. From fc5dca78def4aea92c991d78170b7919b7248572 Mon Sep 17 00:00:00 2001 From: Patrick Northon Date: Mon, 16 Aug 2021 21:06:33 -0400 Sub