We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a1e08b commit bf93bb4Copy full SHA for bf93bb4
libc/src/math/generic/cospif16.cpp
@@ -67,7 +67,7 @@ LLVM_LIBC_FUNCTION(float16, cospif16, (float16 x)) {
67
// Once k and y are computed, we then deduce the answer by the sine of sum
68
// formula:
69
// cos(x * pi) = cos((k + y) * pi/32)
70
- // = cos(k * pi/32) * cos(y * pi/32)
+ // = cos(k * pi/32) * cos(y * pi/32)
71
// + sin(y * pi/32) * sin(k * pi/32)
72
// The values of sin(k * pi/32) and cos (k * pi/32) for k = 0...63 are
73
// precomputed and stored using a vector of 64 single precision floats. sin(y
0 commit comments