We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a38d47c commit d95df17Copy full SHA for d95df17
test/interval_tests/power.jl
@@ -100,8 +100,12 @@ end
100
n = 2
101
@test isguaranteed(x ^ 2)
102
@test !isguaranteed(x ^ n)
103
- @test_broken isguaranteed(x ^ 2.0)
104
- @test_broken isguaranteed(x ^ 2305843009213693952)
+ @test !isguaranteed(x ^ 2.0)
+ if VERSION ≥ v"1.12-DEV" && Int != Int32
105
+ @test isguaranteed(x ^ 2305843009213693952)
106
+ else
107
+ @test_broken isguaranteed(x ^ 2305843009213693952)
108
+ end
109
@test isequal_interval(x^2, interval(0,1))
110
@test isequal_interval(x^3, x)
111
end
0 commit comments