implement fixed Split

This commit is contained in:
🪞👃🪞 2024-09-28 19:51:10 +03:00
parent e555074bdf
commit cd0b8a6812
4 changed files with 50 additions and 15 deletions

View file

@ -62,7 +62,8 @@ pub trait Number: Send + Sync + Copy
+ Div<Self, Output=Self>
+ Ord + PartialEq + Eq
+ Debug + Display + Default
+ From<u16>
+ From<u16> + Into<u16>
+ Into<f64>
{
fn minus (self, other: Self) -> Self {
if self >= other {
@ -81,5 +82,6 @@ impl<T> Number for T where
+ Div<Self, Output=Self>
+ Ord + PartialEq + Eq
+ Debug + Display + Default
+ From<u16>
+ From<u16> + Into<u16>
+ Into<f64>
{}