From d4cfb9cd47caae40a81a44f54cb31f14b20e0f97 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 29 Aug 2024 17:05:37 -0700 Subject: [PATCH] fix zero --- src/integer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integer.rs b/src/integer.rs index 5528b74..e433a69 100644 --- a/src/integer.rs +++ b/src/integer.rs @@ -456,7 +456,7 @@ impl Planar64{ const BITS:i32=64; const FRAC:i32=32; let pow=(((BITS-FRAC-(self.0.leading_zeros() as i32)+1)>>1)+FRAC)-1; - let mut result=Self::raw(1<