[Python-bugs-list] float("1.0e-309") inconsistency on win32 (PR#245)
sde@recombinant.demon.co.uk
sde@recombinant.demon.co.uk
Wed, 22 Mar 2000 16:13:27 -0500 (EST)
Full_Name: Stephen D Evans
Version: 1.5.2
OS: win32
Submission from: recombinant.demon.co.uk (212.229.73.7)
#! /usr/bin/python
# Inconsistent behaviour.
# Python 1.5.2 win32 fails the second print (why not both?)
# other versions print both expressions
# Ok Python 1.5.2 on SuSE Linux 6.3
# Ok JPython 1.1 on java1.1.7B
# Partial failure Python 1.5.2 win32
print eval("float(1.0e-309)")
print float("1.0e-309") # ValueError: float() literal too large: 1.0e-309