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 05dbeac commit cf61ad0Copy full SHA for cf61ad0
src/NaNMath.jl
@@ -39,6 +39,7 @@ pow(x, y) = ^(x, y)
39
40
# The following combinations are safe, so we can fall back to ^
41
pow(x::Number, y::Integer) = x^y
42
+pow(x::Real, y::Integer) = x^y
43
pow(x::Complex, y::Complex) = x^y
44
45
"""
0 commit comments