Compare floats properly

Fixes CPAN testers failure reports like this one:
http://www.cpantesters.org/cpan/report/a63d0e2c-65ac-11e2-bc07-af6a270fb964
CPAN release: 0.08