template <RingNumberType> | ||||
void |
| |||
computes integers sin_num, cos_num and denom, such
that sin_num/denom approximates the sine of direction
(dirx,diry). The difference between the sine and
the approximating rational is bounded by eps_num/eps_den.
|