smallest float number

Mark McEahern marklists at mceahern.com
Wed Feb 12 18:29:34 EST 2003


[gabor]
> is there an easy way to write the smallest float number?
> 
> i just don't want to use things like
> a = -100000000000000000000.0

does something like this help:

start = 10.0
divide_by = 10.0

while start != 0:
  start = start / divide_by
  print start

// m
-






More information about the Python-list mailing list