use round_to_nearest_ties_to_even to implement round
[vector-math.git] / src / scalar.rs
index c1a1ec94c2b59608d8bd40476670185aa5734434..3011df707fc97c6e31cdcb430d504652c7cea0d5 100644 (file)
@@ -380,7 +380,7 @@ macro_rules! impl_float {
                 #[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 {