[Bug 277612] libc printf not compatible with glibc with negative nan

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Mar 2024 15:37:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277612

Benjamin Takacs <nimaje+fbz@bureaucracy.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nimaje+fbz@bureaucracy.de

--- Comment #1 from Benjamin Takacs <nimaje+fbz@bureaucracy.de> ---
There is no such thing as a "negative nan", just some nan representation where
the signbit is set and some where it is not, but that should be just a nan for
every purpose. I would say not printing a sign there is clearer, as nobody can
be confused that something like a "negative nan" exists. And that   sign =
'\0';   in line 788 seems to be an explicite design desicion to do that to me.

-- 
You are receiving this mail because:
You are the assignee for the bug.