no, what should be done on a mathematical point of view, if you want to
calculate x ^ (n / m), is to do a test of parity on m: 
if m is even then if x <0 I can not calculate x ^ (n / m) because
complex 
if m is odd then if X <0 then the calculation becomes (-x) ^ (n / m) 

Apply this method manually in Openoffice.org, you will see it works.


Le mercredi 03 septembre 2008 à 16:04 +0000, Martin Kretzschmar a
écrit :
> I'm not an expert on computer arithmetic, but I would guess that this
> can only be solved using symbolic algebra, or by storing rational
> numbers as rationals, or by using complex arithmetic. Openoffice.org
> most likely uses plain floating point arithmetic, so cannot solve
> this.
>

-- 
=(-8)^(1/3)
https://bugs.launchpad.net/bugs/264345
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to