Skip to content

Commit cf02f7c

Browse files
committed
fix typo
1 parent 6b803f9 commit cf02f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/math/generic/asinpif16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ LLVM_LIBC_FUNCTION(float16, asinpif16, (float16 x)) {
121121
// x = cos(pi/2 - y)
122122
// let z = pi/2 - y,
123123
// x = cos(z)
124-
// becuase: cos(2a) = 1 - 2 * sin^2(a), z = 2a, a = z/2
124+
// because: cos(2a) = 1 - 2 * sin^2(a), z = 2a, a = z/2
125125
// therefore:
126126
// cos(z) = 1 - 2 * sin^2(z/2)
127127
// sin(z/2) = sqrt((1 - cos(z))/2)

0 commit comments

Comments
 (0)