We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72c7f2 commit 97a05b0Copy full SHA for 97a05b0
libc/src/__support/FPUtil/Hypot.h
@@ -208,7 +208,8 @@ LIBC_INLINE T hypot(T x, T y) {
208
for (StorageType current_bit = leading_one >> 1; current_bit;
209
current_bit >>= 1) {
210
r = (StorageType)(r << 1) + ((tail_bits & current_bit) ? 1 : 0);
211
- StorageType tmp = (StorageType)(y_new << 1) + current_bit; // 2*y_new(n - 1) + 2^(-n)
+ StorageType tmp =
212
+ (StorageType)(y_new << 1) + current_bit; // 2*y_new(n - 1) + 2^(-n)
213
if (r >= tmp) {
214
r -= tmp;
215
y_new += current_bit;
0 commit comments