On 5/26/25 13:39, Jackson Helie G wrote:
In this case (long double xx=0xf.000000000000001p0L;) tcc will lose the last 3 digits. If p0 is changed to p-2000, all bits will be 0. However, gcc and clang do not have this error. Note that my current hardware system is a 16-byte long double type, with 8 bits per byte.

I pushed a fix to mob.
This should work with long doubles with 64 and 112 bits mantissa.
I also fixed a bug when a lot of digits are present.  See testcase 70.

    Herman

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to