bpo-41513: Improve speed and accuracy of math.hypot() (GH-21803) · python/cpython@fff3c28 · GitHub
Skip to content

Commit fff3c28

Browse files
authored
bpo-41513: Improve speed and accuracy of math.hypot() (GH-21803)
1 parent 39dab24 commit fff3c28

3 files changed

Lines changed: 44 additions & 6 deletions

File tree

Lib/test/test_math.py

Lines changed: 4 additions & 3 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Minor algorithmic improvement to math.hypot() and math.dist() giving small
2+
gains in speed and accuracy.

Modules/mathmodule.c

Lines changed: 38 additions & 3 deletions

0 commit comments

Comments
 (0)