gcc 11.1.0: printf("%.43f\n", 0x1.52f8a8e32e982p-140): printed value is incorrectly rounded

Keith Packard keithp@keithp.com
Thu Nov 4 17:58:30 GMT 2021

Dave Nadler <drn@nadler.com> writes:

> Keith, this Ryū implementation also removes use of malloc in FP 
> conversion right?
> That would solve lots of problems in the embedded world.
> Thanks,
> Best Regards, Dave

Yes. This is why picolibc uses this code (picolibc also removes malloc
in the rest of stdio).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20211104/2b4568f2/attachment.sig>

More information about the Newlib mailing list