13 for (ind = 0; ind <= 256; ind++) {
14 double v = ind / 256.0;
15 double asinv = ::asin(v);
16 atanbuf_[ind * 2 ] =
::cos(asinv);
17 atanbuf_[ind * 2 + 1] = asinv;
19 for (ind = 0; ind <= 512; ind++) {
20 double v = ind / 512.0;
21 double asinv = ::asin(v);
22 datanbuf_[ind * 2 ] =
::cos(asinv);
23 datanbuf_[ind * 2 + 1] = asinv;
27 static Initatan initAtan;
Cos< T >::type cos(const T &t)