Message386043
It would be nice if math.hypot had the property
If
0 < y1 < y2
then
math.hypot(x, y1) <= math.hypot(x, y2)
This is not the case in python3 with
x = 0.6102683302836215
y1 = 0.7906090004346522
y2 = y1 + 1e-16
python2's implementation of math.hypot is OK with these inputs. |
|
Date |
User |
Action |
Args |
2021-01-31 22:33:45 | cffk | set | recipients:
+ cffk |
2021-01-31 22:33:45 | cffk | set | messageid: <1612132425.22.0.477732752771.issue43088@roundup.psfhosted.org> |
2021-01-31 22:33:45 | cffk | link | issue43088 messages |
2021-01-31 22:33:45 | cffk | create | |
|