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 d45e660 commit 6d9b263Copy full SHA for 6d9b263
src/saturating.jl
@@ -1,8 +1,8 @@
1
import Base: BitInteger
2
import Base.Checked: mul_with_overflow
3
4
-if VERSION ≤ v"1.11-alpha"
5
- import Base: power_by_squaring
+if VERSION ≥ v"1.11-alpha"
+ using Base: power_by_squaring
6
end
7
8
# resolve ambiguity when `-` used as symbol
0 commit comments