18 #if defined (ffft_OscSinCos_CURRENT_CODEHEADER)
19 #error Recursive inclusion of OscSinCos code header.
21 #define ffft_OscSinCos_CURRENT_CODEHEADER
23 #if ! defined (ffft_OscSinCos_CODEHEADER_INCLUDED)
24 #define ffft_OscSinCos_CODEHEADER_INCLUDED
62 _step_cos = static_cast <
DataType> (cos (angle_rad));
63 _step_sin = static_cast <
DataType> (sin (angle_rad));
90 _pos_cos = old_cos * _step_cos - old_sin * _step_sin;
91 _pos_sin = old_cos * _step_sin + old_sin * _step_cos;
99 _pos_cos = static_cast <
DataType> (1);
100 _pos_sin = static_cast <
DataType> (0);
117 #endif // ffft_OscSinCos_CODEHEADER_INCLUDED
119 #undef ffft_OscSinCos_CURRENT_CODEHEADER