Skip to content

Conversation

@rhettinger
Copy link
Contributor

@rhettinger rhettinger commented Aug 31, 2020

Using separate accumulators for each range of fractional values significantly improves accuracy for higher dimensions. See the analysis code at https://bugs.python.org/file49435/best_frac.py

https://bugs.python.org/issue41513

@rhettinger rhettinger closed this Aug 31, 2020
@rhettinger rhettinger deleted the hypot_three_frac branch August 31, 2020 18:52
@rhettinger rhettinger restored the hypot_three_frac branch September 2, 2020 04:31
@rhettinger rhettinger deleted the hypot_three_frac branch September 2, 2020 04:32
@rhettinger rhettinger restored the hypot_three_frac branch September 2, 2020 04:33
@rhettinger rhettinger reopened this Sep 2, 2020
@rhettinger rhettinger merged commit 5b24d15 into python:master Sep 2, 2020
@rhettinger rhettinger deleted the hypot_three_frac branch September 2, 2020 05:00
xzy3 pushed a commit to xzy3/cpython that referenced this pull request Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants