From d84fd1e3eb27f5b02dba0c516f17d37d35424129 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Mon, 10 Aug 2015 17:46:11 -0400 Subject: [PATCH] update isapprox signature to match helpdb.jl in #12472 --- doc/stdlib/math.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/stdlib/math.rst b/doc/stdlib/math.rst index 03778a54127f6..e99da74c7185f 100644 --- a/doc/stdlib/math.rst +++ b/doc/stdlib/math.rst @@ -476,7 +476,7 @@ Mathematical Operators Mathematical Functions ---------------------- -.. function:: isapprox(x::Number, y::Number; rtol::Real=sqrt(eps), atol::Real=0) +.. function:: isapprox(x, y; rtol::Real=sqrt(eps), atol::Real=0) Inexact equality comparison: ``true`` if ``abs(x-y) <= atol + rtol*max(abs(x), abs(y))``. The default ``atol`` is zero and the default ``rtol`` depends on the types of ``x`` and ``y``.