This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cffk
Recipients cffk
Date 2021-01-31.22:33:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612132425.22.0.477732752771.issue43088@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-01-31 22:33:45cffksetrecipients: + cffk
2021-01-31 22:33:45cffksetmessageid: <1612132425.22.0.477732752771.issue43088@roundup.psfhosted.org>
2021-01-31 22:33:45cffklinkissue43088 messages
2021-01-31 22:33:45cffkcreate