Revision 2d803f30ef2ca9eb143da9b32a6243d31e85aa18 authored by Martin Holters on 27 April 2017, 04:03:47 UTC, committed by Jeff Bezanson on 27 April 2017, 04:03:47 UTC
* Only evaluate `fexpr` in `fexpr(kw=...)` once Lower e.g. `get_inner()(kw=1)` to ``` SSAValue(n) = get_inner() ((Core.kwfunc)(SSAValue(n)))((Base.vector_any)(:kw, 1), SSAValue(n)) ``` instead of ``` ((Core.kwfunc)(get_inner()))((Base.vector_any)(:kw, 1), get_inner()) ``` as the latter would call `get_inner` twice. Fixes #21518.
1 parent 67fdcf2
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
# issue 15659
@test (setprecision(53) do; big(1/3); end) < 1//3
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...