In the process of converting the code, I discovered that
it would not remove any operations from sin_cos and that sin_cos_pi
would require an additional multiplication to implement, since what
the software implementation would really need instead of sin_cos_tau
would be for the input to be expressed as a integer number of right-
angles (how many multiples of 90 degrees is the input angle).
traits::{Compare, Context, ConvertFrom, ConvertTo, Float, Make, Select},
};
traits::{Compare, Context, ConvertFrom, ConvertTo, Float, Make, Select},
};
-// TODO: change `sin`/`cos`/`sin_pi`/`cos_pi` implementations to be
-// in terms of `sin_cos_tau` aka. `(sin(2 * pi * x), cos(2 * pi * x))`
-
mod consts {
#![allow(clippy::excessive_precision)]
#![allow(dead_code)]
mod consts {
#![allow(clippy::excessive_precision)]
#![allow(dead_code)]