[libc-commits] [libc] [libc][math] Fix signaling NaN handling for math functions. (PR #133347)

via libc-commits libc-commits at lists.llvm.org
Mon Mar 31 17:11:09 PDT 2025


================
@@ -804,7 +811,6 @@ LLVM_LIBC_FUNCTION(float, powf, (float x, float y)) {
     }
 
     if (x_abs > 0x7f80'0000) {
-      // x is NaN.
----------------
overmighty wrote:

I don't think this comment should be removed.

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


More information about the libc-commits mailing list