From c856509759ece77215489ba457e1a5efba21adc6 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 2 Sep 2024 17:49:15 -0700 Subject: [PATCH] remove old comment --- fixed_wide/src/zeroes.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/fixed_wide/src/zeroes.rs b/fixed_wide/src/zeroes.rs index 97da6c9..865d7d3 100644 --- a/fixed_wide/src/zeroes.rs +++ b/fixed_wide/src/zeroes.rs @@ -17,10 +17,7 @@ macro_rules! impl_zeroes{ let radicand=a1.[](a1)-a2.[](a0)*4; match radicand.cmp(&Fixed::<{$n*2},{$n*2*32}>::ZERO){ Ordering::Greater=>{ - //start with f64 sqrt - //failure case: 2^63 < sqrt(2^127) let planar_radicand=radicand.sqrt().halve_precision(); - //TODO: one or two newtons //sort roots ascending and avoid taking the difference of large numbers match (a2pos,Self::ZERO[Ratio::new(-a1-planar_radicand,a2*2),Ratio::new(a0*2,-a1-planar_radicand)].into(),