fork download
  1. import sys
  2.  
  3. print sys.float_info.epsilon
  4.  
  5. x = 1.0
  6. y = x + sys.float_info.epsilon
  7. print "x == y is", (x==y)
Success #stdin #stdout 0.01s 7852KB
stdin
Standard input is empty
stdout
2.22044604925e-16
x == y is False