diff --git a/property(T).jl b/property(T).jl index e9d0a6f..fd300d9 100644 --- a/property(T).jl +++ b/property(T).jl @@ -150,3 +150,6 @@ function rationalize{T<:Integer, S<:Real}(::Type{T}, r(x) = rationalize(T, x, tol=tol) return r.(X) end; + +ℚ(x, tol::Real) = rationalize(BigInt, x, tol=tol) +