diff options
| author | hachem <im@hachem.wtf> | 2024-09-24 21:33:51 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2024-09-24 21:33:51 +0200 |
| commit | c07ab7911bd50d0060841690a863333a9a3f226d (patch) | |
| tree | 5deb12fc8234d553318e4615ae21ddfcc6db4ab4 /libpsi/src/maths/numeric_int.rs | |
| parent | 26010345eedc716c70e8a4219005db19b266c960 (diff) | |
rename project
Diffstat (limited to 'libpsi/src/maths/numeric_int.rs')
| -rw-r--r-- | libpsi/src/maths/numeric_int.rs | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/libpsi/src/maths/numeric_int.rs b/libpsi/src/maths/numeric_int.rs deleted file mode 100644 index a9ecec7..0000000 --- a/libpsi/src/maths/numeric_int.rs +++ /dev/null @@ -1,44 +0,0 @@ -use super::{Integer, Numeric}; - -impl Integer for i64 {} -impl Integer for i32 {} - -impl Numeric for i32 { - fn zero() -> Self { - 0 - } - - fn one() -> Self { - 1 - } -} - -impl Numeric for i64 { - fn zero() -> Self { - 0 - } - - fn one() -> Self { - 1 - } -} - -impl Numeric for f32 { - fn zero() -> Self { - 0.0 - } - - fn one() -> Self { - 1.0 - } -} - -impl Numeric for f64 { - fn zero() -> Self { - 0.0 - } - - fn one() -> Self { - 1.0 - } -} |
