Removed section on floating point error since R returns 0 exactly.