fix zeroes
This commit is contained in:
parent
8d97ffba92
commit
e6cd239dcb
@ -10,7 +10,7 @@ macro_rules! impl_zeroes{
|
|||||||
let a2pos=match a2.cmp(&Self::ZERO){
|
let a2pos=match a2.cmp(&Self::ZERO){
|
||||||
Ordering::Greater=>true,
|
Ordering::Greater=>true,
|
||||||
Ordering::Equal=>return ArrayVec::from_iter(Self::zeroes1(a0,a1).into_iter()),
|
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;
|
let radicand=a1*a1-a2*a0*4;
|
||||||
match radicand.cmp(&<Self as core::ops::Mul>::Output::ZERO){
|
match radicand.cmp(&<Self as core::ops::Mul>::Output::ZERO){
|
||||||
|
Loading…
Reference in New Issue
Block a user