Home
last modified time | relevance | path

Searched full:cos (Results 1 – 25 of 2539) sorted by relevance

12345678910>>...102

/external/apache-xml/test/tests/exslt/math/
Dmath7.xsl7 <!-- Test math:cos() -->
25 Cos value of zero is:
26 <xsl:value-of select="math:cos($zero)"/><br/>
27 Cos value of nzero is:
28 <xsl:value-of select="math:cos($nzero)"/><br/>
29 Cos value of num1 is:
30 <xsl:value-of select="math:cos($num1)"/><br/>
31 Cos value of num2 is:
32 <xsl:value-of select="math:cos($num2)"/><br/>
33 Cos value of temp1 is:
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Drotate_vector.inl36 T const Cos(cos(angle)); local
39 Result.x = v.x * Cos - v.y * Sin;
40 Result.y = v.x * Sin + v.y * Cos;
61 const T Cos = cos(radians(angle));
63 return x * Cos + ((x * normal) * (T(1) - Cos)) * normal + cross(x, normal) * Sin;
85 T const Cos(cos(angle)); local
88 Result.y = v.y * Cos - v.z * Sin;
89 Result.z = v.y * Sin + v.z * Cos;
101 T const Cos(cos(angle)); local
104 Result.x = v.x * Cos + v.z * Sin;
[all …]
/external/deqp-deps/amber/tests/benchmarks/parallel_advantage/
Dparallel_cos.amber17 # This benchmark tests the latency and throughput of cos function.
41 val_iter = cos(val_iter);
42 val_iter = cos(val_iter);
43 val_iter = cos(val_iter);
44 val_iter = cos(val_iter);
45 val_iter = cos(val_iter);
46 val_iter = cos(val_iter);
47 val_iter = cos(val_iter);
48 val_iter = cos(val_iter);
49 val_iter = cos(val_iter);
[all …]
/external/mesa3d/src/amd/vpelib/src/core/
Dcolor_cs.c240 /* COEF_1_1 = GrphCont * (LumaR + GrphSat * (Cos(GrphHue) * K1 +*/ in calculate_rgb_matrix_legacy()
242 /* (Cos(GrphHue) * K1 + Sin(GrphHue) * K2)*/ in calculate_rgb_matrix_legacy()
244 /* GrphSat * (Cos(GrphHue) * K1 + Sin(GrphHue) * K2 */ in calculate_rgb_matrix_legacy()
246 /* (LumaR + GrphSat * (Cos(GrphHue) * K1 + Sin(GrphHue) * K2))*/ in calculate_rgb_matrix_legacy()
248 /* GrphCont * (LumaR + GrphSat * (Cos(GrphHue) * K1 + Sin(GrphHue)**/ in calculate_rgb_matrix_legacy()
252 /* COEF_1_2 = GrphCont * (LumaG + GrphSat * (Cos(GrphHue) * K3 +*/ in calculate_rgb_matrix_legacy()
254 /* (Cos(GrphHue) * K3 + Sin(GrphHue) * K4)*/ in calculate_rgb_matrix_legacy()
256 /* GrphSat * (Cos(GrphHue) * K3 + Sin(GrphHue) * K4)*/ in calculate_rgb_matrix_legacy()
258 /* (LumaG + GrphSat * (Cos(GrphHue) * K3 + Sin(GrphHue) * K4))*/ in calculate_rgb_matrix_legacy()
260 /* GrphCont * (LumaG + GrphSat * (Cos(GrphHue) * K3 + Sin(GrphHue)**/ in calculate_rgb_matrix_legacy()
[all …]
/external/apache-xml/test/tests/exslt-gold/math/
Dmath7.out2 Cos value of zero is:
4 Cos value of nzero is:
6 Cos value of num1 is:
8 Cos value of num2 is:
10 Cos value of temp1 is:
12 Cos value of temp2 is:
14 Cos value of rad1 is:
16 Cos value of rad2 is:
18 Cos value of rad3 is:
20 Cos value of rad4 is:
[all …]
/external/llvm-libc/test/src/math/smoke/
Dcos_test.cpp1 //===-- Unittests for cos -------------------------------------------------===//
9 #include "src/math/cos.h"
18 EXPECT_FP_EQ_ALL_ROUNDING(aNaN, LIBC_NAMESPACE::cos(aNaN)); in TEST_F()
19 EXPECT_FP_EQ_ALL_ROUNDING(aNaN, LIBC_NAMESPACE::cos(inf)); in TEST_F()
20 EXPECT_FP_EQ_ALL_ROUNDING(aNaN, LIBC_NAMESPACE::cos(neg_inf)); in TEST_F()
21 EXPECT_FP_EQ_ALL_ROUNDING(1.0, LIBC_NAMESPACE::cos(zero)); in TEST_F()
22 EXPECT_FP_EQ_ALL_ROUNDING(1.0, LIBC_NAMESPACE::cos(neg_zero)); in TEST_F()
23 EXPECT_FP_EQ(1.0, LIBC_NAMESPACE::cos(0x1.0p-50)); in TEST_F()
24 EXPECT_FP_EQ(1.0, LIBC_NAMESPACE::cos(min_normal)); in TEST_F()
25 EXPECT_FP_EQ(1.0, LIBC_NAMESPACE::cos(min_denormal)); in TEST_F()
[all …]
Dsincosf_test.cpp22 float sin, cos; in TEST_F() local
24 LIBC_NAMESPACE::sincosf(aNaN, &sin, &cos); in TEST_F()
25 EXPECT_FP_EQ(aNaN, cos); in TEST_F()
29 LIBC_NAMESPACE::sincosf(0.0f, &sin, &cos); in TEST_F()
30 EXPECT_FP_EQ(1.0f, cos); in TEST_F()
34 LIBC_NAMESPACE::sincosf(-0.0f, &sin, &cos); in TEST_F()
35 EXPECT_FP_EQ(1.0f, cos); in TEST_F()
39 LIBC_NAMESPACE::sincosf(inf, &sin, &cos); in TEST_F()
40 EXPECT_FP_EQ(aNaN, cos); in TEST_F()
44 LIBC_NAMESPACE::sincosf(neg_inf, &sin, &cos); in TEST_F()
[all …]
/external/cronet/tot/third_party/llvm-libc/src/test/src/math/smoke/
Dcos_test.cpp1 //===-- Unittests for cos -------------------------------------------------===//
9 #include "src/math/cos.h"
18 EXPECT_FP_EQ_ALL_ROUNDING(aNaN, LIBC_NAMESPACE::cos(aNaN)); in TEST_F()
19 EXPECT_FP_EQ_ALL_ROUNDING(aNaN, LIBC_NAMESPACE::cos(inf)); in TEST_F()
20 EXPECT_FP_EQ_ALL_ROUNDING(aNaN, LIBC_NAMESPACE::cos(neg_inf)); in TEST_F()
21 EXPECT_FP_EQ_ALL_ROUNDING(1.0, LIBC_NAMESPACE::cos(zero)); in TEST_F()
22 EXPECT_FP_EQ_ALL_ROUNDING(1.0, LIBC_NAMESPACE::cos(neg_zero)); in TEST_F()
23 EXPECT_FP_EQ(1.0, LIBC_NAMESPACE::cos(0x1.0p-50)); in TEST_F()
24 EXPECT_FP_EQ(1.0, LIBC_NAMESPACE::cos(min_normal)); in TEST_F()
25 EXPECT_FP_EQ(1.0, LIBC_NAMESPACE::cos(min_denormal)); in TEST_F()
[all …]
Dsincosf_test.cpp22 float sin, cos; in TEST_F() local
24 LIBC_NAMESPACE::sincosf(aNaN, &sin, &cos); in TEST_F()
25 EXPECT_FP_EQ(aNaN, cos); in TEST_F()
29 LIBC_NAMESPACE::sincosf(0.0f, &sin, &cos); in TEST_F()
30 EXPECT_FP_EQ(1.0f, cos); in TEST_F()
34 LIBC_NAMESPACE::sincosf(-0.0f, &sin, &cos); in TEST_F()
35 EXPECT_FP_EQ(1.0f, cos); in TEST_F()
39 LIBC_NAMESPACE::sincosf(inf, &sin, &cos); in TEST_F()
40 EXPECT_FP_EQ(aNaN, cos); in TEST_F()
44 LIBC_NAMESPACE::sincosf(neg_inf, &sin, &cos); in TEST_F()
[all …]
/external/cronet/stable/third_party/llvm-libc/src/test/src/math/smoke/
Dcos_test.cpp1 //===-- Unittests for cos -------------------------------------------------===//
9 #include "src/math/cos.h"
18 EXPECT_FP_EQ_ALL_ROUNDING(aNaN, LIBC_NAMESPACE::cos(aNaN)); in TEST_F()
19 EXPECT_FP_EQ_ALL_ROUNDING(aNaN, LIBC_NAMESPACE::cos(inf)); in TEST_F()
20 EXPECT_FP_EQ_ALL_ROUNDING(aNaN, LIBC_NAMESPACE::cos(neg_inf)); in TEST_F()
21 EXPECT_FP_EQ_ALL_ROUNDING(1.0, LIBC_NAMESPACE::cos(zero)); in TEST_F()
22 EXPECT_FP_EQ_ALL_ROUNDING(1.0, LIBC_NAMESPACE::cos(neg_zero)); in TEST_F()
23 EXPECT_FP_EQ(1.0, LIBC_NAMESPACE::cos(0x1.0p-50)); in TEST_F()
24 EXPECT_FP_EQ(1.0, LIBC_NAMESPACE::cos(min_normal)); in TEST_F()
25 EXPECT_FP_EQ(1.0, LIBC_NAMESPACE::cos(min_denormal)); in TEST_F()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dcos-1.ll1 ; Test that the cos library call simplifier works correctly.
8 declare double @cos(double)
10 ; Check cos(-x) -> cos(x);
15 %cos = call double @cos(double %neg)
16 ; NO-FLOAT-SHRINK: call double @cos(double %d)
17 ret double %cos
24 %cos = call double @cos(double %neg)
25 %conv2 = fptrunc double %cos to float
34 %cos = call double @cos(double %neg)
35 ; NO-FLOAT-SHRINK: call double @cos(double %conv1)
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dllvm.cos.ll9 ;EG: COS * T{{[0-9]+\.[XYZW], PV\.[XYZW]}}
10 ;EG-NOT: COS
15 %cos = call float @llvm.cos.f32(float %x)
16 store float %cos, float addrspace(1)* %out
21 ;EG: COS * T{{[0-9]+\.[XYZW], PV\.[XYZW]}}
22 ;EG: COS * T{{[0-9]+\.[XYZW], PV\.[XYZW]}}
23 ;EG: COS * T{{[0-9]+\.[XYZW], PV\.[XYZW]}}
24 ;EG: COS * T{{[0-9]+\.[XYZW], PV\.[XYZW]}}
25 ;EG-NOT: COS
33 %cos = call <4 x float> @llvm.cos.v4f32(<4 x float> %vx)
[all …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/output/
DCountingOutputStreamTest.java43 try (CountingOutputStream cos = new CountingOutputStream(baos)) { in testCounting() argument
46 cos.write(i); in testCounting()
49 assertEquals(cos.getCount(), 20, "CountingOutputStream.getCount()"); in testCounting()
55 cos.write(array); in testCounting()
57 assertEquals(cos.getCount(), 30, "CountingOutputStream.getCount()"); in testCounting()
62 cos.write(array, 5, 5); in testCounting()
64 assertEquals(cos.getCount(), 35, "CountingOutputStream.getCount()"); in testCounting()
66 final int count = cos.resetCount(); in testCounting()
70 cos.write(i); in testCounting()
73 assertEquals(cos.getCount(), 10, "CountingOutputStream.getCount()"); in testCounting()
[all …]
/external/llvm-libc/test/src/math/
Dsincosf_test.cpp28 float sin, cos; in TEST_F() local
30 LIBC_NAMESPACE::sincosf(aNaN, &sin, &cos); in TEST_F()
31 EXPECT_FP_EQ(aNaN, cos); in TEST_F()
35 LIBC_NAMESPACE::sincosf(0.0f, &sin, &cos); in TEST_F()
36 EXPECT_FP_EQ(1.0f, cos); in TEST_F()
40 LIBC_NAMESPACE::sincosf(-0.0f, &sin, &cos); in TEST_F()
41 EXPECT_FP_EQ(1.0f, cos); in TEST_F()
45 LIBC_NAMESPACE::sincosf(inf, &sin, &cos); in TEST_F()
46 EXPECT_FP_EQ(aNaN, cos); in TEST_F()
50 LIBC_NAMESPACE::sincosf(neg_inf, &sin, &cos); in TEST_F()
[all …]
/external/cronet/stable/third_party/llvm-libc/src/test/src/math/
Dsincosf_test.cpp28 float sin, cos; in TEST_F() local
30 LIBC_NAMESPACE::sincosf(aNaN, &sin, &cos); in TEST_F()
31 EXPECT_FP_EQ(aNaN, cos); in TEST_F()
35 LIBC_NAMESPACE::sincosf(0.0f, &sin, &cos); in TEST_F()
36 EXPECT_FP_EQ(1.0f, cos); in TEST_F()
40 LIBC_NAMESPACE::sincosf(-0.0f, &sin, &cos); in TEST_F()
41 EXPECT_FP_EQ(1.0f, cos); in TEST_F()
45 LIBC_NAMESPACE::sincosf(inf, &sin, &cos); in TEST_F()
46 EXPECT_FP_EQ(aNaN, cos); in TEST_F()
50 LIBC_NAMESPACE::sincosf(neg_inf, &sin, &cos); in TEST_F()
[all …]
/external/cronet/tot/third_party/llvm-libc/src/test/src/math/
Dsincosf_test.cpp28 float sin, cos; in TEST_F() local
30 LIBC_NAMESPACE::sincosf(aNaN, &sin, &cos); in TEST_F()
31 EXPECT_FP_EQ(aNaN, cos); in TEST_F()
35 LIBC_NAMESPACE::sincosf(0.0f, &sin, &cos); in TEST_F()
36 EXPECT_FP_EQ(1.0f, cos); in TEST_F()
40 LIBC_NAMESPACE::sincosf(-0.0f, &sin, &cos); in TEST_F()
41 EXPECT_FP_EQ(1.0f, cos); in TEST_F()
45 LIBC_NAMESPACE::sincosf(inf, &sin, &cos); in TEST_F()
46 EXPECT_FP_EQ(aNaN, cos); in TEST_F()
50 LIBC_NAMESPACE::sincosf(neg_inf, &sin, &cos); in TEST_F()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DWriteRawPrimitivesBenchmark.cs125 var cos = new CodedOutputStream(outputBuffer); in WriteRawVarint32_CodedOutputStream()
128 cos.WriteRawVarint32(values[i]); in WriteRawVarint32_CodedOutputStream()
130 cos.Flush(); in WriteRawVarint32_CodedOutputStream()
131 cos.CheckNoSpaceLeft(); in WriteRawVarint32_CodedOutputStream()
167 var cos = new CodedOutputStream(outputBuffer); in WriteRawVarint64_CodedOutputStream()
170 cos.WriteRawVarint64(values[i]); in WriteRawVarint64_CodedOutputStream()
172 cos.Flush(); in WriteRawVarint64_CodedOutputStream()
173 cos.CheckNoSpaceLeft(); in WriteRawVarint64_CodedOutputStream()
204 var cos = new CodedOutputStream(outputBuffer); in WriteFixed32_CodedOutputStream()
207 cos.WriteFixed32(12345); in WriteFixed32_CodedOutputStream()
[all …]
/external/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DWriteRawPrimitivesBenchmark.cs125 var cos = new CodedOutputStream(outputBuffer); in WriteRawVarint32_CodedOutputStream()
128 cos.WriteRawVarint32(values[i]); in WriteRawVarint32_CodedOutputStream()
130 cos.Flush(); in WriteRawVarint32_CodedOutputStream()
131 cos.CheckNoSpaceLeft(); in WriteRawVarint32_CodedOutputStream()
167 var cos = new CodedOutputStream(outputBuffer); in WriteRawVarint64_CodedOutputStream()
170 cos.WriteRawVarint64(values[i]); in WriteRawVarint64_CodedOutputStream()
172 cos.Flush(); in WriteRawVarint64_CodedOutputStream()
173 cos.CheckNoSpaceLeft(); in WriteRawVarint64_CodedOutputStream()
204 var cos = new CodedOutputStream(outputBuffer); in WriteFixed32_CodedOutputStream()
207 cos.WriteFixed32(12345); in WriteFixed32_CodedOutputStream()
[all …]
/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DWriteRawPrimitivesBenchmark.cs125 var cos = new CodedOutputStream(outputBuffer); in WriteRawVarint32_CodedOutputStream()
128 cos.WriteRawVarint32(values[i]); in WriteRawVarint32_CodedOutputStream()
130 cos.Flush(); in WriteRawVarint32_CodedOutputStream()
131 cos.CheckNoSpaceLeft(); in WriteRawVarint32_CodedOutputStream()
167 var cos = new CodedOutputStream(outputBuffer); in WriteRawVarint64_CodedOutputStream()
170 cos.WriteRawVarint64(values[i]); in WriteRawVarint64_CodedOutputStream()
172 cos.Flush(); in WriteRawVarint64_CodedOutputStream()
173 cos.CheckNoSpaceLeft(); in WriteRawVarint64_CodedOutputStream()
204 var cos = new CodedOutputStream(outputBuffer); in WriteFixed32_CodedOutputStream()
207 cos.WriteFixed32(12345); in WriteFixed32_CodedOutputStream()
[all …]
/external/cronet/stable/third_party/llvm-libc/src/src/math/generic/
Dcosf.cpp1 //===-- Single-precision cos function -------------------------------------===//
28 // x = 0x1.64a032p43, cos(x) = 0x1.9d4ba4p-1 (RZ)
30 // x = 0x1.4555p51, cos(x) = 0x1.115d7cp-1 (RZ)
32 // x = 0x1.48a858p54, cos(x) = 0x1.f48148p-2 (RZ)
34 // x = 0x1.3170fp63, cos(x) = 0x1.fe2976p-1 (RZ)
36 // x = 0x1.2b9622p67, cos(x) = 0x1.f0285cp-1 (RZ)
38 // x = 0x1.ddebdep120, cos(x) = 0x1.114438p-1 (RZ)
63 // since cos((k + y + 64*i) * pi/32) = cos(x + i * 2pi) = cos(x).
81 // cos(x) = cos((k + y)*pi/32)
82 // = cos(y*pi/32) * cos(k*pi/32) - sin(y*pi/32) * sin(k*pi/32)
[all …]
Dsincosf.cpp44 {0xbf70090b, 0, 1, 0}, // x = 0x1.33333p13, cos(x) = -0x1.e01216p-1 (RZ)
45 {0x3f4ea5d2, 1, 0, 0}, // x = 0x1.64a032p43, cos(x) = 0x1.9d4ba4p-1 (RZ)
46 {0x3f08aebe, 1, 0, 1}, // x = 0x1.4555p51, cos(x) = 0x1.115d7cp-1 (RZ)
47 {0x3f7f14bb, 1, 0, 0}, // x = 0x1.3170fp63, cos(x) = 0x1.fe2976p-1 (RZ)
48 {0x3f78142e, 1, 0, 1}, // x = 0x1.2b9622p67, cos(x) = 0x1.f0285cp-1 (RZ)
49 {0x3f08a21c, 1, 0, 0}, // x = 0x1.ddebdep120, cos(x) = 0x1.114438p-1 (RZ)
73 // cos((k + y + 64*i) * pi/32) = cos(x + i * 2pi) = cos(x).
92 // = sin(y*pi/32) * cos(k*pi/32) + cos(y*pi/32) * sin(k*pi/32)
93 // cos(x) = cos((k + y)*pi/32)
94 // = cos(y*pi/32) * cos(k*pi/32) - sin(y*pi/32) * sin(k*pi/32)
[all …]
/external/cronet/tot/third_party/llvm-libc/src/src/math/generic/
Dcosf.cpp1 //===-- Single-precision cos function -------------------------------------===//
28 // x = 0x1.64a032p43, cos(x) = 0x1.9d4ba4p-1 (RZ)
30 // x = 0x1.4555p51, cos(x) = 0x1.115d7cp-1 (RZ)
32 // x = 0x1.48a858p54, cos(x) = 0x1.f48148p-2 (RZ)
34 // x = 0x1.3170fp63, cos(x) = 0x1.fe2976p-1 (RZ)
36 // x = 0x1.2b9622p67, cos(x) = 0x1.f0285cp-1 (RZ)
38 // x = 0x1.ddebdep120, cos(x) = 0x1.114438p-1 (RZ)
63 // since cos((k + y + 64*i) * pi/32) = cos(x + i * 2pi) = cos(x).
81 // cos(x) = cos((k + y)*pi/32)
82 // = cos(y*pi/32) * cos(k*pi/32) - sin(y*pi/32) * sin(k*pi/32)
[all …]
Dsincosf.cpp44 {0xbf70090b, 0, 1, 0}, // x = 0x1.33333p13, cos(x) = -0x1.e01216p-1 (RZ)
45 {0x3f4ea5d2, 1, 0, 0}, // x = 0x1.64a032p43, cos(x) = 0x1.9d4ba4p-1 (RZ)
46 {0x3f08aebe, 1, 0, 1}, // x = 0x1.4555p51, cos(x) = 0x1.115d7cp-1 (RZ)
47 {0x3f7f14bb, 1, 0, 0}, // x = 0x1.3170fp63, cos(x) = 0x1.fe2976p-1 (RZ)
48 {0x3f78142e, 1, 0, 1}, // x = 0x1.2b9622p67, cos(x) = 0x1.f0285cp-1 (RZ)
49 {0x3f08a21c, 1, 0, 0}, // x = 0x1.ddebdep120, cos(x) = 0x1.114438p-1 (RZ)
73 // cos((k + y + 64*i) * pi/32) = cos(x + i * 2pi) = cos(x).
92 // = sin(y*pi/32) * cos(k*pi/32) + cos(y*pi/32) * sin(k*pi/32)
93 // cos(x) = cos((k + y)*pi/32)
94 // = cos(y*pi/32) * cos(k*pi/32) - sin(y*pi/32) * sin(k*pi/32)
[all …]
/external/llvm-libc/src/math/generic/
Dcosf.cpp1 //===-- Single-precision cos function -------------------------------------===//
29 // x = 0x1.64a032p43, cos(x) = 0x1.9d4ba4p-1 (RZ)
31 // x = 0x1.4555p51, cos(x) = 0x1.115d7cp-1 (RZ)
33 // x = 0x1.48a858p54, cos(x) = 0x1.f48148p-2 (RZ)
35 // x = 0x1.3170fp63, cos(x) = 0x1.fe2976p-1 (RZ)
37 // x = 0x1.2b9622p67, cos(x) = 0x1.f0285cp-1 (RZ)
39 // x = 0x1.ddebdep120, cos(x) = 0x1.114438p-1 (RZ)
65 // since cos((k + y + 64*i) * pi/32) = cos(x + i * 2pi) = cos(x).
83 // cos(x) = cos((k + y)*pi/32)
84 // = cos(y*pi/32) * cos(k*pi/32) - sin(y*pi/32) * sin(k*pi/32)
[all …]
Dsincosf.cpp45 {0xbf70090b, 0, 1, 0}, // x = 0x1.33333p13, cos(x) = -0x1.e01216p-1 (RZ)
46 {0x3f4ea5d2, 1, 0, 0}, // x = 0x1.64a032p43, cos(x) = 0x1.9d4ba4p-1 (RZ)
47 {0x3f08aebe, 1, 0, 1}, // x = 0x1.4555p51, cos(x) = 0x1.115d7cp-1 (RZ)
48 {0x3f7f14bb, 1, 0, 0}, // x = 0x1.3170fp63, cos(x) = 0x1.fe2976p-1 (RZ)
49 {0x3f78142e, 1, 0, 1}, // x = 0x1.2b9622p67, cos(x) = 0x1.f0285cp-1 (RZ)
50 {0x3f08a21c, 1, 0, 0}, // x = 0x1.ddebdep120, cos(x) = 0x1.114438p-1 (RZ)
75 // cos((k + y + 64*i) * pi/32) = cos(x + i * 2pi) = cos(x).
94 // = sin(y*pi/32) * cos(k*pi/32) + cos(y*pi/32) * sin(k*pi/32)
95 // cos(x) = cos((k + y)*pi/32)
96 // = cos(y*pi/32) * cos(k*pi/32) - sin(y*pi/32) * sin(k*pi/32)
[all …]

12345678910>>...102