import sys print sys.float_info.epsilon x = 1.0y = x + sys.float_info.epsilonprint "x == y is", (x==y)
Standard input is empty
2.22044604925e-16 x == y is False
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!