00001 # 00002 # PyMite - A flyweight Python interpreter for 8-bit and larger microcontrollers. 00003 # Copyright 2010 Dean Hall. All rights reserved. 00004 # PyMite is offered through one of two licenses: commercial or open-source. 00005 # See the LICENSE file at the root of this package for licensing details. 00006 # 00007 00008 # 00009 # System Test 281 00010 # Fix float comparisons 00011 # 00012 00013 a = 3.4e-15 00014 b = 3.5e-15 00015 print "a == b ?", a == b 00016 assert not (a == b) 00017 assert a != b