Helper to simultaneously calculate sin and cos of the same angle.
Instantiate an instance of this object, passing the angle to the constructor. The sin and cos are then available as the sn and cs members. In addition, the apply() method may be used to calculate a*sin(x) + b*cos(x).
Implementation notes:
This used to inline the fsincos x87 instruction. However, with current compilers on x86_64, it's faster to just use sincos(). We keep this around since sincos() is a GNU extension and we don't want to have to put #ifdefs everywhere we use this.
Definition at line 38 of file sincos.h.