[llvm] [KnownFPClass] Refine positive zero and NaN result classes for sqrt (PR #214987)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 9 07:25:49 PDT 2026


arsenm wrote:

> On that note, is it possible for implementations to treat negative zero as positive zero?

No, the special case is only denormal flushing (unless you account for the NSZ flag, which is already broken for computeKnownFPClass. There are 2 or 3 open PRs attempting to address that issue)



https://github.com/llvm/llvm-project/pull/214987


More information about the llvm-commits mailing list