Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2026 05:06:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277612] libc printf not compatible with glibc with negative nan
Message-ID:  <bug-277612-227-CiKSVlPASE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277612-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277612

--- Comment #4 from Paul Floyd <pjfloyd@wanadoo.fr> ---
This issue resurfaced last week.

We were using "0.0/0.0" as our NaN generator. Two fun facts. GCC generates code
that does the division. On i386 and amd64 the result is a NaN with a negative
sign bit. clang does compile time constant folding and produces a positive NaN,

See this regression test failure and discussion:
https://sourceforge.net/p/valgrind/mailman/valgrind-testresults/thread/202605070526.6475Q2BE072333%40localhost.orange.fr/#msg59331691

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277612-227-CiKSVlPASE>