From e6cd239dcbbc0addb2a785bf29c6a7eb668e9a3c Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 26 Sep 2024 15:26:18 -0700 Subject: [PATCH] fix zeroes --- fixed_wide/src/zeroes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixed_wide/src/zeroes.rs b/fixed_wide/src/zeroes.rs index 621e22e..7f1dbc9 100644 --- a/fixed_wide/src/zeroes.rs +++ b/fixed_wide/src/zeroes.rs @@ -10,7 +10,7 @@ macro_rules! impl_zeroes{ let a2pos=match a2.cmp(&Self::ZERO){ Ordering::Greater=>true, Ordering::Equal=>return ArrayVec::from_iter(Self::zeroes1(a0,a1).into_iter()), - Ordering::Less=>true, + Ordering::Less=>false, }; let radicand=a1*a1-a2*a0*4; match radicand.cmp(&::Output::ZERO){