Trait rulinalg::MachineEpsilon
[−]
[src]
pub trait MachineEpsilon: Float { fn epsilon() -> Self; }
Expose the machine epsilon of floating point numbers. This trait should only need to exist for a short time, until the Float trait from the Num crate has the same capabilities.
Required Methods
fn epsilon() -> Self
Returns the machine epsilon for the given Float type.