[New-bugs-announce] [issue13982] python returning errorneous value for sqrt

Shivam report at bugs.python.org
Fri Feb 10 07:17:57 CET 2012

New submission from Shivam <shivam.agarwal at aricent.com>:

On mips64 biit machine running linux I have installed python2.4_2.4.4 from link "http://archive.debian.net/etch/python2.4" using below commands:

./configure –enable-shared
make install  

But when I check value of sqrt(9.0) on python, python returns:“4.9406564584124654e-324” rather than “3.0”. 

Can anybody let me know what may be the reason for this.

Shivam Agarwal

messages: 153026
nosy: shivam_python_issues
priority: normal
severity: normal
status: open
title: python returning errorneous value for sqrt
type: behavior
versions: 3rd party

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list