Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87plyk11n4.fsf@oldenburg.str.redhat.com>
Date: Tue, 02 Jan 2024 11:16:15 +0100
From: Florian Weimer <fweimer@...hat.com>
To: Rich Felker <dalias@...c.org>
Cc: John M <johnm@...incalibration.de>,  musl@...ts.openwall.com
Subject: Re: Wrong rounding in printf when precision is not set to max

* Rich Felker:

> Note that, even then, there are lots of gotchas. The x87's "single"
> and "double" modes are not actually IEEE single and double, but
> nonstandard types with the IEEE significand precision but excess
> exponent range that's truncated via double-rounding whenever the
> intermediate is spilled to memory.

Doesn't setting the control word avoid double rounding?

Thanks,
Florian

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.