standard contract for cmp::max
standard contract for cmp::max
@@ -27,6 +27,13 @@ pub mod core {
result!()
}
}
+
+ pub fn max__u64(v1: u64, v2: u64) -> u64 {
+ if v1 >= v2 {
+ return v1;
+ }
+ return v2;
+ }
}
pub mod default {
