[ python-Bugs-1048864 ] unexpected floating point exponent behaviour

SourceForge.net noreply at sourceforge.net
Sun Oct 17 23:39:02 CEST 2004


Bugs item #1048864, was opened at 2004-10-17 23:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1048864&group_id=5470

Category: Parser/Compiler
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Ruwen Hahn (palana)
Assigned to: Nobody/Anonymous (nobody)
Summary: unexpected floating point exponent behaviour

Initial Comment:
There's a problem with exponents and numeric literals:

017e4 should be about 150k, but python gives 170k.

Same with hexints, 0x12e4 should be 180k, but python
gives 4836.

I think that python should either throw an error or do
it right.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1048864&group_id=5470


More information about the Python-bugs-list mailing list