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 b1482aa commit 0e3a17cCopy full SHA for 0e3a17c
libc/src/__support/FPUtil/generic/add_sub.h
@@ -174,8 +174,8 @@ add_or_sub(InType x, InType y) {
174
int alignment = (max_bits.get_biased_exponent() - max_bits.is_normal()) -
175
(min_bits.get_biased_exponent() - min_bits.is_normal());
176
177
- InStorageType aligned_min_mant =
178
- min_mant >> cpp::min(alignment, RESULT_MANTISSA_LEN);
+ InStorageType aligned_min_mant = static_cast<InStorageType>(
+ min_mant >> cpp::min(alignment, RESULT_MANTISSA_LEN));
179
bool aligned_min_mant_sticky;
180
181
if (alignment <= GUARD_BITS_LEN)
0 commit comments