hi

there is a non stable result in power operator. this is the example. when I call the power with the variable the power not works. but when calling directly it

julia> a = -1.9345e6

-1.9345e6

julia> a^1.5

ERROR: DomainError with -1.9345e6:

Exponentiation yielding a complex result requires a complex argument.

Replace x^y with (x+0im)^y, Complex(x)^y, or similar.

Stacktrace:

[1] throw_exp_domainerror(::Float64) at .\math.jl:35

[2] ^(::Float64, ::Float64) at .\math.jl:782

[3] top-level scope at none:0

calling directly:

julia> -1.9345e6^1.5

-2.6906245536352706e9

matlab result:

-1.9345e+06^1.5

ans =

-2.6906e+09

calling with complex

julia> complex(a)^1.5

0.0 - 2.6906245536352706e9im