projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9678d25
)
[libc] Fix two missing cases in 1c92911e9e1d503c0dfc4367da7f15d0dff50587
author
Haojian Wu
<hokein.wu@gmail.com>
Wed, 8 Dec 2021 14:12:32 +0000
(15:12 +0100)
committer
Haojian Wu
<hokein.wu@gmail.com>
Wed, 8 Dec 2021 14:14:21 +0000
(15:14 +0100)
Fix the broken build.
libc/src/__support/FPUtil/x86_64/SqrtLongDouble.h
patch
|
blob
|
history
diff --git
a/libc/src/__support/FPUtil/x86_64/SqrtLongDouble.h
b/libc/src/__support/FPUtil/x86_64/SqrtLongDouble.h
index
0f8393f
..
5840156
100644
(file)
--- 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, 0>(long double x) {
UIntType xMant = bits.get_mantissa();
// Step 1a: Normalize denormal input
- if (bits.get
ImplicitB
it()) {
+ if (bits.get
_implicit_b
it()) {
xMant |= One;
} else if (bits.get_unbiased_exponent() == 0) {
internal::normalize<long double>(xExp, xMant);
@@
-134,7
+134,7
@@
template <> inline long double sqrt<long double, 0>(long double x) {
// Extract output
FPBits<long double> out(0.0L);
out.set_unbiased_exponent(xExp);
- out.set
ImplicitB
it(1);
+ out.set
_implicit_b
it(1);
out.set_mantissa((y & (One - 1)));
return out;