From 314271b06444bcfd4926826b947205806fa2bbc8 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Wed, 14 Aug 2019 13:50:47 -0700 Subject: [PATCH] fix 32-bit overflow in hypot doc (#32896) --- base/math.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/math.jl b/base/math.jl index ccdbd8ba6b04a..ad1e898bf3a94 100644 --- a/base/math.jl +++ b/base/math.jl @@ -530,7 +530,7 @@ The article is available online at ArXiv at the link # Examples ```jldoctest; filter = r"Stacktrace:(\\n \\[[0-9]+\\].*)*" -julia> a = 10^10; +julia> a = Int64(10)^10; julia> hypot(a, a) 1.4142135623730951e10