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

Brian Inglis <[email protected]>
Newsgroups gmane.comp.lib.newlib
Organization Systematic Software
Message-ID <[email protected]>
On 2021-11-04 11:58, Keith Packard wrote:
> 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,

I believe the implementation uses tables: that could be an issue in the 
embedded world; can you comment on the table space required for 32, 64, 
128 bits?

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
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.