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 0f694e1 commit 668199dCopy full SHA for 668199d
libc/src/__support/FPUtil/Hypot.h
@@ -207,8 +207,10 @@ LIBC_INLINE T hypot(T x, T y) {
207
208
for (StorageType current_bit = leading_one >> 1; current_bit;
209
current_bit >>= 1) {
210
- r = static_cast<StorageType>((r << 1)) + ((tail_bits & current_bit) ? 1 : 0);
211
- StorageType tmp = static_cast<StorageType>((y_new << 1)) + current_bit; // 2*y_new(n - 1) + 2^(-n)
+ r = static_cast<StorageType>((r << 1)) +
+ ((tail_bits & current_bit) ? 1 : 0);
212
+ StorageType tmp = static_cast<StorageType>((y_new << 1)) +
213
+ current_bit; // 2*y_new(n - 1) + 2^(-n)
214
if (r >= tmp) {
215
r -= tmp;
216
y_new += current_bit;
0 commit comments