diff options
Diffstat (limited to 'libc/test/src/math/HypotTest.h')
-rw-r--r-- | libc/test/src/math/HypotTest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/test/src/math/HypotTest.h b/libc/test/src/math/HypotTest.h index 57abef8b6234..b110bcee3311 100644 --- a/libc/test/src/math/HypotTest.h +++ b/libc/test/src/math/HypotTest.h @@ -24,7 +24,7 @@ private: using Func = T (*)(T, T); using FPBits = __llvm_libc::fputil::FPBits<T>; using UIntType = typename FPBits::UIntType; - const T nan = T(FPBits::build_nan(1)); + const T nan = T(FPBits::build_quiet_nan(1)); const T inf = T(FPBits::inf()); const T neg_inf = T(FPBits::neg_inf()); const T zero = T(FPBits::zero()); |