Re: [Bug 264345] Re: =(-8)^(1/3) algo floating...

2008-09-05 Thread Fournier Frédéric
Le vendredi 05 septembre 2008 à 08:14 +, Fournier Frédéric a écrit : > > Here is an algorithm that gives you the smallest denominator of a floating > number written in the form of fraction. > with that you can solve the problem even if in the calculation of x ^ > (n

Re: [Bug 264345] Re: =(-8)^(1/3) algo floating...

2008-09-05 Thread Fournier Frédéric
Here is an algorithm that gives you the smallest denominator of a floating number written in the form of fraction. with that you can solve the problem even if in the calculation of x ^ (n / m), n / m is transformed into a floating because you can find something iteration. I use that frac refe

Re: [Bug 264345] Re: =(-8)^(1/3)

2008-09-04 Thread Fournier Frédéric
Le jeudi 04 septembre 2008 à 17:58 +, Fournier Frédéric a écrit : > > 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 > comp

Re: [Bug 264345] Re: =(-8)^(1/3)

2008-09-04 Thread Fournier Frédéric
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 manual

Re: [Bug 264345] Re: =(-8)^(1/3)

2008-09-03 Thread Fournier Frédéric
it just me references: "value" and not -2 translated by Google Le mercredi 03 septembre 2008 à 14:56 +, Chris Coulson a écrit : > Whats wrong with '(-8)^(1/3)=-2'? > > If you work back the other way (ie '(-2)^3'), we get (-2)*(-2)*(-2)=-8, > so this is correct > > ** Changed in: openoffic

[Bug 264345] [NEW] =(-8)^(1/3)

2008-09-03 Thread Fournier Frédéric
Public bug reported: Binary package hint: openoffice.org => Valeur! h??? =(-8)^(1/3)=-2 sorry je ne parle pas anglais... ** Affects: openoffice.org (Ubuntu) Importance: Undecided Status: New -- =(-8)^(1/3) https://bugs.launchpad.net/bugs/264345 You received this