Fixed floating point bug. https://github.com/darkskyapp/binary-search/pull/4