[Libreoffice-bugs] [Bug 44076] =(-8)^(1/3) should return -2 ('odd roots' from negative numbers should work in general)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Oct 25 11:39:07 UTC 2020


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

b. <newbie-02 at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|=(-8)^(1/3) should return   |=(-8)^(1/3) should return
                   |-2                          |-2 ('odd roots' from
                   |                            |negative numbers should
                   |                            |work in general)
         Resolution|WORKSFORME                  |---
             Status|RESOLVED                    |REOPENED

--- Comment #19 from b. <newbie-02 at gmx.de> ---
(In reply to Christopher M. Penalver from comment #18)
> newbie-02 at gmx.de, please see my previous comment. Thanks!

no fullquotes please, 

the bug was old, but the work on it quite recent, 

the fix is - imho - incomplete as it doesn't work for '=-8^(2/3)' which is
similar as it would only work for '-8...' and mis- or not calculate
'=-27^(1/3)', 

(in most cases the actual provided sample should be understood as a sample! for
similar misbehaviour on other values as well, and fixes should cover the whole
field, not the single flower ... ) 

'=-8^(2/3)' and '=-27^(2/3)' are! 'calculateable terms', even in calc, if you
rearrange them to '=-8^2^(1/3)' or '=-8^(1/3)^2', 

imho that question is very very near to this bug, thus i added it here (and
because @xisco likes to close new reports from me as duplicate even when they
report about new! flavours of old misbehaviour) 

ok? 

tested with: 
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 586f6abee92af3cdabdce034b607b9a046ed3946
CPU threads: 8; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default;
VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201025/e404e823/attachment.htm>


More information about the Libreoffice-bugs mailing list