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.
makepow
1 parent d72a552 commit 066712bCopy full SHA for 066712b
src/types.jl
@@ -1021,23 +1021,6 @@ function unwrap_const(x)
1021
# isconst(x) ? x.val : x
1022
end
1023
1024
-"""
1025
- $(TYPEDSIGNATURES)
1026
-
1027
-Return the base and exponent for representing `a^b`.
1028
1029
-function makepow(a, b)
1030
- a = unwrap(a)
1031
- b = unwrap(b)
1032
- base = a
1033
- exp = b
1034
- if ispow(a)
1035
- base = a.base
1036
- exp = a.exp * b
1037
- end
1038
- return (base, exp)
1039
-end
1040
1041
"""
1042
$(TYPEDSIGNATURES)
1043
0 commit comments