Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python returning errorneous value for sqrt #58190

Closed
shivampythonissues mannequin opened this issue Feb 10, 2012 · 2 comments
Closed

python returning errorneous value for sqrt #58190

shivampythonissues mannequin opened this issue Feb 10, 2012 · 2 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@shivampythonissues
Copy link
Mannequin

shivampythonissues mannequin commented Feb 10, 2012

BPO 13982
Nosy @loewis, @mdickinson

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2012-02-10.07:02:43.751>
created_at = <Date 2012-02-10.06:17:56.866>
labels = ['type-bug']
title = 'python returning errorneous value for sqrt'
updated_at = <Date 2012-02-10.13:22:07.070>
user = 'https://bugs.python.org/shivampythonissues'

bugs.python.org fields:

activity = <Date 2012-02-10.13:22:07.070>
actor = 'mark.dickinson'
assignee = 'none'
closed = True
closed_date = <Date 2012-02-10.07:02:43.751>
closer = 'loewis'
components = []
creation = <Date 2012-02-10.06:17:56.866>
creator = 'shivam_python_issues'
dependencies = []
files = []
hgrepos = []
issue_num = 13982
keywords = []
message_count = 2.0
messages = ['153026', '153029']
nosy_count = 3.0
nosy_names = ['loewis', 'mark.dickinson', 'shivam_python_issues']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue13982'
versions = ['3rd party']

@shivampythonissues
Copy link
Mannequin Author

shivampythonissues mannequin commented Feb 10, 2012

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

@shivampythonissues shivampythonissues mannequin added the type-bug An unexpected behavior, bug, or error label Feb 10, 2012
@loewis
Copy link
Mannequin

loewis mannequin commented Feb 10, 2012

Python 2.4 is no longer maintained.

@loewis loewis mannequin closed this as completed Feb 10, 2012
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

0 participants