/usr/share/julia/test/bigfloat.jl is in julia-common 0.4.7-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | # This file is a part of Julia. License is MIT: http://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
# issue 15659
@test with_bigfloat_precision(()->big(1/3), 53) < 1//3
|