lib/ttfunk/sci_form.rb in ttfunk-1.6.2.1 vs lib/ttfunk/sci_form.rb in ttfunk-1.7.0
- old
+ new
@@ -15,10 +15,10 @@
end
def ==(other)
case other
when Float
- other == to_f
+ other == to_f # rubocop: disable Lint/FloatComparison
when self.class
other.significand == significand &&
other.exponent == exponent
else
false