Problem with real-accurate module num != num

cmfinlay at SPAMmagnet.com.au cmfinlay at SPAMmagnet.com.au
Sun Jul 9 09:06:19 EDT 2000


I am having problems with the code below

QUOTE
from real import *
num = r(0)
num_real = r(0)
if num == num_real:
   print "ok"
else:
   print "Bad" # the code goes here.
UN QUOTE

Also

if num_real == 0

Goes to the wrong place as well.

Any help would be very much appreciated

Col. Finlay
cmfinlaySPAM at magnet.com.au



More information about the Python-list mailing list