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.

classification
Title: python returning errorneous value for sqrt
Type: behavior Stage:
Components: Versions: 3rd party
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: loewis, mark.dickinson, shivam_python_issues
Priority: normal Keywords:

Created on 2012-02-10 06:17 by shivam_python_issues, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg153026 - (view) Author: Shivam (shivam_python_issues) Date: 2012-02-10 06:17
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 
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.

Regards
Shivam Agarwal
msg153029 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2012-02-10 07:02
Python 2.4 is no longer maintained.
History
Date User Action Args
2022-04-11 14:57:26adminsetgithub: 58190
2012-02-10 13:22:07mark.dickinsonsetnosy: + mark.dickinson
2012-02-10 07:02:43loewissetstatus: open -> closed

nosy: + loewis
messages: + msg153029

resolution: out of date
2012-02-10 06:17:56shivam_python_issuescreate