OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

# office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [OASIS Issue Tracker] Updated: (OFFICE-1469) Public Comment:[office-formula] Domain problems with exponential operator andfunctionPOWER

• From: OASIS Issues Tracker <workgroup_mailer@lists.oasis-open.org>
• To: office@lists.oasis-open.org
• Date: Mon, 8 Feb 2010 19:44:15 -0500 (EST)

[ http://tools.oasis-open.org/issues/browse/OFFICE-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Weir  updated OFFICE-1469:
---------------------------------

Proposal:
1) Move the statement of the allowed values of 0^0 from the definition of the ^ operator in 5.4.6 to the semantics statement in the definition of POWER() in 5.16.46.

2) We should add the following semantic constraints to POWER():

a) POWER(0,0) is implementation-defined, but shall be one of 0,1, or an Error
b) POWER(0,b), where b < 0, shall return an error.
c) POWER(a,b), where a<=0 and INT(b)!=b, is implementation defined.

The ^ operator is defined in section 5.4.6.  The POWER() is defined in 5.16.46.  The ^ operator is defined in terms of the POWER() function.

I don't think either definition should talk about numeric underflow, overflow, limited precision, complex parameters, or any similar issues which are shared by all functions.  Remember, even the + operator can cause an overflow error.  We should define those concerns once , for all functions and operators.

> Public Comment: [office-formula] Domain problems with exponential operator and functionPOWER
> --------------------------------------------------------------------------------------------
>
>                 Key: OFFICE-1469
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-1469
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: OpenFormula
>            Reporter: Robert Weir
>            Assignee: Robert Weir
>            Priority: Minor
>             Fix For: ODF 1.2 Part 2 CD 1
>
>
> Copied from office-comment list
> Original author: Regina Henschel <rb.henschel@t-online.de>
> Original date: 15 Apr 2009 10:17:12 -0000
> Original URL: http://lists.oasis-open.org/archives/office-comment/200904/msg00023.html

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-