
The math package in both Python 2.7 and Python 2.5 is reporting a strange error. The sqrt function does not return the correct value for 1695843602719359844. It returns an answer ending in 0 which is not possible and it returns the same answer for values above it. Kindly check if the same is happening with you. Thanks, Rohan Bavishi rohan.bavishi95@gmail.com

Hello Rohan, On Wed, Jul 13, 2011 at 05:19, Rohan Bavishi <rohan.bavishi95@gmail.com> wrote:
The math package in both Python 2.7 and Python 2.5 is reporting a strange error. The sqrt function does not return the correct value for 1695843602719359844. It returns an answer ending in 0 which is not possible and it returns the same answer for values above it. Kindly check if the same is happening with you.
This is not a bug reporting mailing list (if not related to documentation). I suggest asking on python-list[1] your question. As a side note, 1302245600.0 is the result returned by several calculators. [1] http://mail.python.org/mailman/listinfo/python-list -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
participants (2)
-
Rohan Bavishi
-
Sandro Tosi