Skip to content

Commit 1d7bd3b

Browse files
author
jobhdez
authored
[libc] Remove extra parenthesis in sin.cpp comments (#134477)
1 parent 71884b6 commit 1d7bd3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/math/generic/sin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ LLVM_LIBC_FUNCTION(double, sin, (double x)) {
158158
Float128 sin_k_f128 = get_sin_k(k);
159159
Float128 cos_k_f128 = get_sin_k(k + 64);
160160

161-
// sin(x) = sin((k * pi/128 + u)
161+
// sin(x) = sin(k * pi/128 + u)
162162
// = sin(u) * cos(k*pi/128) + cos(u) * sin(k*pi/128)
163163
Float128 r = fputil::quick_add(fputil::quick_mul(sin_k_f128, cos_u),
164164
fputil::quick_mul(cos_k_f128, sin_u));

0 commit comments

Comments
 (0)