From 5bb0a9075c82a19bf6533e5fd79058e1dc41fc4b Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Wed, 8 Dec 2021 15:12:32 +0100 Subject: [PATCH] [libc] Fix two missing cases in 1c92911e9e1d503c0dfc4367da7f15d0dff50587 Fix the broken build. --- libc/src/__support/FPUtil/x86_64/SqrtLongDouble.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/src/__support/FPUtil/x86_64/SqrtLongDouble.h b/libc/src/__support/FPUtil/x86_64/SqrtLongDouble.h index 0f8393f..5840156 100644 --- a/libc/src/__support/FPUtil/x86_64/SqrtLongDouble.h +++ b/libc/src/__support/FPUtil/x86_64/SqrtLongDouble.h @@ -75,7 +75,7 @@ template <> inline long double sqrt(long double x) { UIntType xMant = bits.get_mantissa(); // Step 1a: Normalize denormal input - if (bits.getImplicitBit()) { + if (bits.get_implicit_bit()) { xMant |= One; } else if (bits.get_unbiased_exponent() == 0) { internal::normalize(xExp, xMant); @@ -134,7 +134,7 @@ template <> inline long double sqrt(long double x) { // Extract output FPBits out(0.0L); out.set_unbiased_exponent(xExp); - out.setImplicitBit(1); + out.set_implicit_bit(1); out.set_mantissa((y & (One - 1))); return out; -- 2.7.4