From dff2648cd3427d7b717b2084d9b1efb3c15d683d Mon Sep 17 00:00:00 2001 From: Quaternions Date: Sun, 29 Oct 2023 01:13:06 -0700 Subject: [PATCH] add Planar64::MAX --- src/integer.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/integer.rs b/src/integer.rs index 45f7963..c3cd434 100644 --- a/src/integer.rs +++ b/src/integer.rs @@ -414,6 +414,7 @@ pub struct Planar64(i64); impl Planar64{ pub const ZERO:Self=Self(0); pub const ONE:Self=Self(1<<32); + pub const MAX:Self=Self(i64::MAX); #[inline] pub const fn int(num:i32)->Self{ Self(Self::ONE.0*num as i64)