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

Keith Packard <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Dave Nadler <[email protected]> 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).

-- 
-keith
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAmGEH0YACgkQ2yIaaQAA
ABH68w//SA9IIoPfjz6W4bmr5LKnVrFA00Tl4IehD4TwFEenC2RXDnTpQgQpfEyV
8kCwORgj3rBTIKeMQHnXyM/BRDQOsHBxgyOol9u7SjZ/JiEKkS7SIZxL8JgbV2uz
B1QaNMa1J/ZIEyfZwdq0s+gTdAXh7GuSPUI2rOBsnZLKqe+9eSRQKTDQ15Dn3GPd
nM2QAUI2gqvM47RVbE15d6Ow3lwYe3a21dHmHoeXIpS4lnKfI5RgB8oneMicgOi+
ZUcHY/qLPKRJwwa9E8fewA3M8w+WM727oSVX2Edz73VHyJW5P8MKSOHe7OBKewqu
mVSoaMAuHBn7FLiE5UJmqUHNh1mf71OEILn2hDfo1wHjz11BEG0lT+npE4ARccc1
XYlF54ZQvyi1KniacrdCQllF8s3197y9R/kl4c3dfRyxx7z+Axn4HKJrdedOud+o
jVG0J6q81cmGdPgrNe2F+Qf00hZsinUHzcfezV1sWg+YEMvCStBH2gy3BD3hWLqX
1uiElkT1Ca2P2VNQ8QO+428ChV6aY6Mz5YT3l5hV0o89/H1DHFSa1ebzry9aoClc
i3G5zzYexNMSLONbXf76QQMz2iECshdZkwuR482vkiWXG6pIp+Ee7mX8FScBDa8p
WE0gUGmJPwzWc0PgafT/MBCal29b91KM4KtLQM/fx5O0z8/nQ00=
=u7gy
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.