prinThor 0.0.3

The highly reliable but not necessarily functional 3D Printer firmware
use rust_decimal_macros::dec;
use crate::math::Real;

pub const ZERO: Real = Real::from_fixed(dec!(0.0));
pub const HALF: Real = Real::from_fixed(dec!(0.5));
pub const ONE: Real = Real::from_fixed(dec!(1.0));
pub const TWO: Real = Real::from_fixed(dec!(2.0));
pub const THREE: Real = Real::from_fixed(dec!(3.0));
pub const FOUR: Real = Real::from_fixed(dec!(4.0));
pub const SIX: Real = Real::from_fixed(dec!(6.0));
#[allow(unused)]
pub const ONE_HUNDRED: Real = Real::from_fixed(dec!(100.0));
#[allow(unused)]
pub const ONE_THOUSAND: Real = Real::from_fixed(dec!(1000.0));
#[allow(unused)]
pub const ONE_MILLION: Real = Real::from_fixed(dec!(1000000.0));

pub const PI: Real = Real::from_fixed(rust_decimal::Decimal::PI);