[Libreoffice-bugs] [Bug 136387] POWER function in Calc computes 0^0=1

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 2 08:52:27 UTC 2020


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

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
          Component|Calc                        |Documentation
           Severity|enhancement                 |normal
                 CC|                            |olivier.hallot at libreoffice.
                   |                            |org,
                   |                            |rb.henschel at t-online.de
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Regina Henschel <rb.henschel at t-online.de> ---
The ODF standard says:
"POWER(0,0) is implementation-defined, but shall be one of 0,1, or an Error."
6.16.46, Part4, ODF 1.3

The term "implementation-defined" means, that the exact behavior is not
specified, but the application has must document, which of the choices it uses.

>From the beginning in OpenOffice 1, POWER(0;0) returned 1. Therefore I would
not change it, because it would break existing documents.

But the documentation of the behavior of LibreOffice is missing. The page
https://wiki.documentfoundation.org/Development/ODF_Implementer_Notes/List_of_LibreOffice_ODF_implementation-defined_items#Functions
is so designed, that the implementation-defined aspects of functions have to be
documented in the online help. But that is missing for the function POWER.
Therefore I set this as bug to component Documentation.

[BTW: It would be good to check, whether the other "implementation-defined"
aspects of functions are documented.]

-- 
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/20200902/3d54ed99/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list