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


On Tue, Jul 17, 2012 at 10:44:59PM +0200, Albert Thuswaldner wrote:
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).

Hmm... There is only one *real* root, so it looks natural to me to
privilege it and return that one, because the function was passed a
real number as an argument, so it should interpret the world it is
supposed to operate it as narrowly as possible while still having a
solution: don't appeal to complex numbers if you don't have
to. Thinking like you do, we'd also have to remove sqrt() because
there are two roots, and how could it choose one of them?

-- 
Lionel

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.