class Float

def =~(o, precision = 0.0000000001)

return:: true if the match is within +precision+
precision:: the precision to use in the comparison.
o:: value to compare with

is used to accommodate for floating point errors.
Return true if the float is within +precision+ of the other value +o+. This
def =~(o, precision = 0.0000000001)
  return (1 - self/o).abs < precision
end