Sha256: e518a652ddb2cade211c2f08fd9d26b23ddf4557f81d5596eff0252e9602af85

Contents?: true

Size: 104 Bytes

Versions: 1

Compression:

Stored size: 104 Bytes

Contents

class Float 
  def approx_equal?(other,threshold=0.00001) 
    (self-other).abs < threshold  
  end 
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aberant-tuio-ruby-0.1.0 lib/core_ext/float.rb