Skip to content

Commit 314271b

Browse files
stevengjStefanKarpinski
authored andcommitted
fix 32-bit overflow in hypot doc (#32896)
1 parent 57a022f commit 314271b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/math.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ The article is available online at ArXiv at the link
530530
531531
# Examples
532532
```jldoctest; filter = r"Stacktrace:(\\n \\[[0-9]+\\].*)*"
533-
julia> a = 10^10;
533+
julia> a = Int64(10)^10;
534534
535535
julia> hypot(a, a)
536536
1.4142135623730951e10

0 commit comments

Comments
 (0)