#[cfg(feature = "std")]
return Value(self.0.ceil());
#[cfg(not(feature = "std"))]
- todo!();
+ return crate::algorithms::base::ceil(Scalar, self);
}
fn floor(self) -> Self {
#[cfg(feature = "std")]
return Value(self.0.floor());
#[cfg(not(feature = "std"))]
- todo!();
+ return crate::algorithms::base::floor(Scalar, self);
}
fn round(self) -> Self {
#[cfg(feature = "std")]
return Value(self.0.round());
#[cfg(not(feature = "std"))]
- todo!();
+ return crate::algorithms::base::round_to_nearest_ties_to_even(Scalar, self);
}
#[cfg(feature = "fma")]
fn fma(self, a: Self, b: Self) -> Self {