Closed
Description
Is there any reason for this? Currently the following is defined in base/mathconstants.jl
:
for T in (AbstractIrrational, Rational, Integer, Number, Complex)
Base.:^(::Irrational{:ℯ}, x::T) = exp(x)
end
Is there any reason why this is not simply
Base.:^(::Irrational{:ℯ}, x) = exp(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment