[Python-bugs-list] [Bug #117484] Float operations/assignments in Python 2.0

noreply@sourceforge.net noreply@sourceforge.net
Mon, 23 Oct 2000 06:34:20 -0700


Bug #117484, was updated on 2000-Oct-23 03:55
Here is a current snapshot of the bug.

Project: Python
Category: Core
Status: Closed
Resolution: Wont Fix
Bug Group: Not a Bug
Priority: 5
Summary: Float operations/assignments in Python 2.0

Details: Platform : WinNT 4.0 SP 5

go the interpreter window 
>>> x = 5.14
>>> x
5.139998

Could u please explain whats happening?
Wanted to use Python2.0 for test drivers for a financial package?
What do I do?

Thanks,
Kalyan.


Follow-Ups:

Date: 2000-Oct-23 06:34
By: jhylton

Comment:
This isn't a bug; it's the way floating point numbers work in nearly every language and on nearly every platform.

http://www.deja.com/=dnc/[ST_rn=ps]/getdoc.xp?AN=607818947

-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=117484&group_id=5470