mirror of
https://github.com/rm-dr/daisy
synced 2025-07-01 14:43:30 -07:00
Added unit errors
This commit is contained in:
@ -111,6 +111,7 @@ impl Quantity {
|
||||
pub fn is_negative(&self) -> bool { self.v.is_negative() }
|
||||
pub fn is_positive(&self) -> bool { self.v.is_positive() }
|
||||
pub fn unitless(&self) -> bool { self.u.unitless() }
|
||||
pub fn unit(&self) -> &Unit { &self.u }
|
||||
|
||||
quant_foward!(fract);
|
||||
quant_foward!(abs);
|
||||
|
Reference in New Issue
Block a user