Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 02 Jan 2024 11:16:15 +0100
From: Florian Weimer <>
To: Rich Felker <>
Cc: John M <>,
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?


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.