projects
/
vector-math.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add copy_sign and genericify abs
[vector-math.git]
/
src
/
scalar.rs
diff --git
a/src/scalar.rs
b/src/scalar.rs
index 30aaa9e9cfc3eb981da354f0d9bb61aeafc98439..4e5009598aff43900ae158d35d4918c8e0d87140 100644
(file)
--- a/
src/scalar.rs
+++ b/
src/scalar.rs
@@
-350,7
+350,7
@@
macro_rules! impl_float {
#[cfg(feature = "std")]
return Value(self.0.abs());
#[cfg(not(feature = "std"))]
-
todo!(
);
+
return crate::algorithms::base::abs(Scalar, self
);
}
fn trunc(self) -> Self {
#[cfg(feature = "std")]