Re: [Mingw-w64-public] [PATCH] Fix hexadecimal formatting of long doubles.

2021-08-28 Thread Patrick Northon via Mingw-w64-public
I apologize, I'm wrestling with my mail client. Here's the c file, but not as an attachment. Does the mailing list block .c files? #include #include #include int main(int argc, char **argv) { puts( " --- Long doubles ---\n"); char buf[100]; snprintf(buf, siz

Re: [Mingw-w64-public] [PATCH] Fix hexadecimal formatting of long doubles.

2021-08-28 Thread Patrick Northon via Mingw-w64-public
Here the c test file. I can see it was attached in my sent folder, but it's not there on the maillist? ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

[Mingw-w64-public] [PATCH] Fix hexadecimal formatting of long doubles.

2021-08-28 Thread Patrick Northon via Mingw-w64-public
As requested, and after further digging and testing, here's a patch that fix a few problems that I have found with long double formatting in hexadecimal. I have more coming for doubles in a much revised form. It fixes: - Wrong exponent was set for denormalized long doubles. - It remove normaliza