1 unstable release

0.1.0 Oct 22, 2024

#818 in Algorithms

Download history 131/week @ 2024-10-19 22/week @ 2024-10-26

153 downloads per month

Apache-2.0 OR MPL-2.0

38KB
1K SLoC

Wheel algebra library for Rust

use wheel::*;

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

Types

Floating point wheel numbers

  • w32 (Wheel32)
  • w64 (Wheel64)

Quotient wheel numbers

  • qw8 (`FractionWheel8')
  • qw16 (FractionWheel16)
  • qw32 (FractionWheel32)
  • qw64 (FractionWheel64)
  • qw128 (FractionWheel128)

License

Apache 2.0 or MPL 2.0.


lib.rs:

Wheel

Wheel algebra library for Rust

use wheel::*;

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

No runtime deps