pub trait Abs { type Output; // Required method fn abs(self) -> Self::Output; }
Absolute value.
use dashu_base::Abs; assert_eq!((-5).abs(), 5);