[#175][#140] Ensure we return Floats, not Fixnum or Rational; fixes segfaults with mathn

See https://github.com/codeclimate/ruby-test-reporter/pull/15