From http://stackoverflow.com/questions/6244265/strange-behaviour-when-comparing-floating-points-in-rspec