Author rhettinger
Recipients mark.dickinson, rhettinger, steven.daprano, tim.peters
Date 2021-11-26.15:58:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637942303.49.0.406266881557.issue45876@roundup.psfhosted.org>
In-reply-to
Content
Instead of calling float(), perhaps do an int/int division to match the other code path so that the function depends on only one mechanism for building the float result.

-    return float(_isqrt_frac_rto(n, m << 2 * q) << q)
+    (_isqrt_frac_rto(n, m << 2 * q) << q) / 1
History
Date User Action Args
2021-11-26 15:58:23rhettingersetrecipients: + rhettinger, tim.peters, mark.dickinson, steven.daprano
2021-11-26 15:58:23rhettingersetmessageid: <1637942303.49.0.406266881557.issue45876@roundup.psfhosted.org>
2021-11-26 15:58:23rhettingerlinkissue45876 messages
2021-11-26 15:58:23rhettingercreate