fn is_nan(self) -> bool;
fn from_bits(bits: Self::BitsType) -> Self;
fn to_bits(self) -> Self::BitsType;
+ fn abs(self) -> Self;
}
macro_rules! impl_float {
fn to_bits(self) -> Self::BitsType {
self.to_bits()
}
+ fn abs(self) -> Self {
+ $float::abs(self)
+ }
}
};
}