Skip to content

Commit 1f17209

Browse files
committed
Remove braces from single-statement if in exp2m1f16
1 parent 5058e8c commit 1f17209

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libc/src/math/generic/exp2m1f16.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,9 @@ LLVM_LIBC_FUNCTION(float16, exp2m1f16, (float16 x)) {
116116
return FPBits::one(Sign::NEG).get_val();
117117

118118
// When -12 < x < -11, round(2^x - 1, HP, RN) = -0x1.ffcp-1.
119-
if (x_u < 0xca00U) {
119+
if (x_u < 0xca00U)
120120
return fputil::round_result_slightly_down(
121121
fputil::cast<float16>(-0x1.ffcp-1));
122-
}
123122

124123
// When x <= -12, round(2^x - 1, HP, RN) = -1.
125124
switch (fputil::quick_get_round()) {

0 commit comments

Comments
 (0)