Re: [Mingw-w64-public] [PATCH] Change formatting of double precision floating-points in hexadecimal to match glibc.

2021-09-12 Thread Patrick Northon via Mingw-w64-public
On dimanche 12 septembre 2021 17 h 08 min 56 s EDT Martin Storsj� wrote: > With your implementation, this prints: > > 0x0.8p-1022 > 0x1p-1022 > > However with glibc, this prints: > > 0x0.8p-1022 > 0x0p-1022 > > This looks wrong to me though, and I'd say your version is correct. > Surprisingly t

Re: [Mingw-w64-public] [PATCH] Change formatting of double precision floating-points in hexadecimal to match glibc.

2021-09-12 Thread Martin Storsjö
On Fri, 10 Sep 2021, Patrick Northon via Mingw-w64-public wrote: Finally, here's the patch to change double formatting in hexadecimal. As you can see, I managed to find a way to fix it with little changes. Only a few minor adjustments needed. Awesome! I appreciate that you managed to reuse the