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 4531eaa commit b633969Copy full SHA for b633969
libc/src/__support/FPUtil/cast.h
@@ -66,8 +66,9 @@ cast(InType x) {
66
cpp::max(OutFPBits::FRACTION_LEN, InFPBits::FRACTION_LEN);
67
DyadicFloat<cpp::bit_ceil(MAX_FRACTION_LEN)> xd(x);
68
return xd.template as<OutType, /*ShouldSignalExceptions=*/true>();
69
- } else
+ } else {
70
return static_cast<OutType>(x);
71
+ }
72
}
73
74
} // namespace LIBC_NAMESPACE::fputil
0 commit comments