a more precise distance algorithm

random832 at fastmail.us random832 at fastmail.us
Tue May 26 09:40:53 EDT 2015


On Mon, May 25, 2015, at 15:21, ravas wrote:
> Is this valid? Does it apply to python?
> Any other thoughts? :D

The math.hypot function uses the C library's function which should deal
with such concerns internally. There is a fallback version in case the C
library does not have this function, in Python/pymath.c - which,
incidentally, does use your algorithm.



More information about the Python-list mailing list