Skip to content

Commit dfb0352

Browse files
committed
nit
1 parent 5ce276f commit dfb0352

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

libc/src/math/generic/cosf16.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ LLVM_LIBC_FUNCTION(float16, cosf16, (float16 x)) {
5454
// sin(k * pi/32) * sin(y * pi/32)
5555

5656
// Handle exceptional values
57-
58-
if (auto r = COSF16_EXCEPTS.lookup(x_abs); LIBC_UNLIKELY(r.has_value()))
57+
if (auto r = COSF16_EXCEPTS.lookup(x_abs); LIBC_UNLIKELY(r.has_value()))
5958
return r.value();
6059

6160
// cos(+/-0) = 1

libc/src/math/generic/sinf16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ LLVM_LIBC_FUNCTION(float16, sinf16, (float16 x)) {
5656
// Handle exceptional values
5757
bool x_sign = x_u >> 15;
5858
if (auto r = SINF16_EXCEPTS.lookup_odd(x_abs, x_sign);
59-
LIBC_UNLIKELY(r.has_value()))
59+
LIBC_UNLIKELY(r.has_value()))
6060
return r.value();
6161

6262
int rounding = fputil::quick_get_round();

0 commit comments

Comments
 (0)