Revision 268420df5211670fd7df3e6e4d1b4fc3f15c793f authored by Jeff Bezanson on 19 March 2017, 21:56:34 UTC, committed by GitHub on 19 March 2017, 21:56:34 UTC
fix #21054, parse/lowering problem with `<:T` syntax
2 parent s e6ef51f + 89de7df
Raw File
bigfloat.jl
# 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 (setprecision(53) do; big(1/3); end) < 1//3
back to top