Revision cdf3d8f8d24c7836e20800539a720647185a3946 authored by Kristoffer Carlsson on 27 July 2018, 22:58:58 UTC, committed by Stefan Karpinski on 27 July 2018, 22:58:58 UTC
Also check 4-char slug paths to allow loading the old installed packages and precompile files.
1 parent b43e7ad
bigfloat.jl
# This file is a part of Julia. License is MIT: https://julialang.org/license
@test big(2.0)^big(3) == 8
for T in [Int8, UInt8, Int16, UInt16, Int32, UInt32, Int64, UInt64, Int128, UInt128, BigInt]
@test T(2)^big(3.0) == 8
@test big(2.0)^T(3) == 8
end
for x in (2f0, pi, 7.8, big(ℯ))
@test big(typeof(x)) == typeof(big(x))
@test big(typeof(complex(x, x))) == typeof(big(complex(x, x)))
end
# issue 15659
@test (setprecision(53) do; big(1/3); end) < 1//3
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...