Trait DekiExtApprox
Source pub trait DekiExtApprox {
// Required methods
fn sin_ca(self) -> f32;
fn cos_ca(self) -> f32;
fn tan_ca(self) -> f32;
fn exp_ca(self) -> f32;
fn log_ca(self, _: f32) -> f32;
fn sqrt_ca(self) -> f32;
fn pow_ca(self, _: f32) -> f32;
}
Expand description
This is an extension trait for the following impl:
ⓘ#[extension(pub trait DekiExtApprox)]
impl for f32
approx sine, faster but inaccurate
approx cosine, faster but inaccurate
approx tangent, faster but inaccurate
approx exponential, faster but inaccurate
approx logarithm, faster but inaccurate
approx square, faster but inaccurate
approx power by, faster but inaccurate
approx sine, faster but inaccurate
approx cosine, faster but inaccurate
approx tangent, faster but inaccurate
approx exponential, faster but inaccurate
approx logarithm, faster but inaccurate
approx square, faster but inaccurate
approx power by, faster but inaccurate