lib/hilbert/iq.rb in hilbert-0.0.2700100 vs lib/hilbert/iq.rb in hilbert-0.0.2700110

- old
+ new

@@ -28,13 +28,13 @@ case ruby_obj when Matrix, Vector, Dydx::Algebra::Formula ruby_obj.to_q when Numeric - # TODO: I know you wanna way.. + # TODO: I know what you wanna say.. if ruby_obj > 10000.0 then 'oo' elsif ruby_obj < -10000.0 then '-oo' - elsif ruby_obj.abs < Float::EPSILON then '0.0' + elsif ruby_obj.abs < 1.0/10**4 then '0.0' else ruby_obj.to_s.equalize! end else str = ruby_obj.to_s str.equalize!