Overflow and underflow Integers overflow at about 2 billion Twice.cc Twice2.cc Floats overflow at about 10**38 0.1*0.1 != 0.01 (error 1 in 10**7) Doubles overflow at about 10**308 0.1*0.1 != 0.01 (error 1 in 10**16) Lessons Arithmetic is not perfect Always use doubles Never use == with real numbers