Hi Julia community,
I am a new Julia user. Like what I see till now but with sometimes its head twisting.
For example today I saw something and I wanted to know the difference between
First one gives me error:
ERROR: DomainError with -0.5: Exponentiation yielding a complex result requires a complex argument. Replace x^y with (x+0im)^y, Complex(x)^y, or similar. Stacktrace:  throw_exp_domainerror(::Float64) at .\math.jl:37  ^(::Float64, ::Float64) at .\math.jl:872  top-level scope at REPL:1
and the second code gives me answer:
I was wondering what I am doing wrong in the first example of
(-(0.5/1))^1.5 that its expecting a complex number?