[Libreoffice-bugs] [Bug 44076] =(-8)^(1/3) should return -2

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 15 14:37:20 UTC 2018


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

Eike Rathke <erack at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=69
                   |                            |293

--- Comment #10 from Eike Rathke <erack at redhat.com> ---
Fwiw, this was implemented with
https://gerrit.libreoffice.org/plugins/gitiles/core/+/b0fdf6cf11ee46d46925e9cd9fa2768a1b49bb64%5E!/
for bug 69293.

The same result -2 for (-8)^(6004799503160661/2^54)
There may be no rounding error but an accuracy limit here, see
https://www.wolframalpha.com/input/?i=6004799503160661%2F2%5E54

Perhaps reformulating (or even omitting?) the rtl::math::approxEqual() would be
an option? Didn't dig into it.

-- 
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/20181115/61295838/attachment.html>


More information about the Libreoffice-bugs mailing list