Crate wheel

Source
Expand description

§Wheel

Wheel algebra library for Rust

use wheel::*;
 
let inf = w64::ONE / w64::ZERO;
assert_eq!(inf, w64::INFINITY);

Re-exports§

pub use fraction::FractionWheel;
pub use fraction::FractionWheel8;
pub use fraction::FractionWheel16;
pub use fraction::FractionWheel32;
pub use fraction::FractionWheel64;
pub use fraction::FractionWheel128;
pub use fraction::qw8;
pub use fraction::qw16;
pub use fraction::qw32;
pub use fraction::qw64;
pub use fraction::qw128;
pub use float::Wheel32;
pub use float::Wheel64;
pub use float::w32;
pub use float::w64;

Modules§

float
This module provides a floating point number type that can represent Wheel algebraic structures.
fraction
Wheel implementation for fractions.

Traits§

Wheel
Wheel is an algebraic structure where division is always defined. Division is not necesarily the same as the multiplicative inverse. Eq is always defined, but PartialOrd is not.