https://bugs.documentfoundation.org/show_bug.cgi?id=148488

--- Comment #8 from mwelin...@gmail.com ---
> why would someone claim that returning one of those is correct,
> and returning another is wrong?

There are actually good reasons for picking 1.116225+0.810985*i, but only if
you already think of it as a complex-valued function.  It is what you get with
x^y defined as exp(y*log(x)) and the standard branch cut of log.  Mathematica
follows that, fwiw.

If you think of x^y as a real valued function then -1.3 is the only choice. 
And thinking of x^y this way is quite reasonable for a spreadsheet.

For completeness, if you think of x and y as IEEE-854 numbers, then an error is
the only reasonable result.  y here is 3602879701896397/2^54.  That's an even
denominator.

But in none of those cases does it seem reasonable to bite the head off the
reporter.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to