in reply to When 1000 is less than 1000
Thats your eyes playing tricks on you 1000 is never less than 1000, but 1000.00001 is less than 1000.000011
What Every Computer Scientist Should Know About Floating-Point Arithmetic