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 105e25a commit ed7a9d1Copy full SHA for ed7a9d1
libc/src/__support/FPUtil/FPBits.h
@@ -686,7 +686,7 @@ struct FPRepImpl : public FPRepSem<fp_type, RetT> {
686
}
687
688
LIBC_INLINE constexpr void set_biased_exponent(StorageType biased) {
689
- UP::set_biased_exponent(BiasedExponent((int32_t)biased));
+ UP::set_biased_exponent(BiasedExponent(static_cast<uint32_t>(biased)));
690
691
692
LIBC_INLINE constexpr int get_exponent() const {
0 commit comments