Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

On Tue, Jul 17, 2012 at 8:29 PM, marlon orlando barahona alvarez
<ingmarov@gmail.com> wrote:
Is dificult add this correction to Calc? I have seen reports of this bug
with date 2004.


I have read the bug report you mentioned:
https://issues.apache.org/ooo/show_bug.cgi?id=37129

and I tend to agree with the conclusion of comment 11 that it wold be
wrong to alter the behavior of the POWER function for this particular
case, (since there are multiple roots).

I think it would be better to use the proposed workaround:

SIGN(X)*ABS(X)^(1/3)
or
SIGN(X)*POWER(ABS(X), 1/3)

this is more "honest" since you with this expression explicitly state
that you want the the real cubic root.

In the end I'm not an Calc core developer, I'm CC-ing the list, see
what the others have to say about this.

/Albert

2012/7/16 marlon orlando barahona alvarez <ingmarov@gmail.com>

Oh, I forgot to mention that I tried with index (1/5), (1/7) and Calc work
perfectly.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.