JuliaLang/julia — pull request #652 by pao (2012-03-31 21:33:02+00:00)
Title: RFC: Function(s) to express nearishness.

This is a first shot at expressing nearishness in Julia, taking as inspiration NumPy's `allclose()` function. It doesn't handle Inf/NaN the same as `numpy.allclose()`, and doesn't handle all the possible types that R's `all.equal()` can apparently handle.

So, what is needed from those other functions here (or for specific types), noting that `isequal()` already exists to express actual equality?

Input from everyone certainly helpful, but I do want to make sure @dmbates gets to see this, since he got me started thinking about it.

`numpy.allclose()` is defined at https://github.com/numpy/numpy/blob/master/numpy/core/numeric.py#L1963