Skip to content

Commit 2d985ff

Browse files
[libc][math] Fix buildbot fails (llvm#151186)
Signed-off-by: Krishna Pandey <[email protected]> Co-authored-by: OverMighty <[email protected]>
1 parent 07e9f98 commit 2d985ff

File tree

1 file changed

+2
-1
lines changed
  • libc/src/__support/FPUtil

1 file changed

+2
-1
lines changed

libc/src/__support/FPUtil/cast.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ cast(InType x) {
6666
cpp::max(OutFPBits::FRACTION_LEN, InFPBits::FRACTION_LEN);
6767
DyadicFloat<cpp::bit_ceil(MAX_FRACTION_LEN)> xd(x);
6868
return xd.template as<OutType, /*ShouldSignalExceptions=*/true>();
69-
} else
69+
} else {
7070
return static_cast<OutType>(x);
71+
}
7172
}
7273

7374
} // namespace LIBC_NAMESPACE::fputil

0 commit comments

Comments
 (0)