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

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

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


Subject: [OASIS Issue Tracker] Updated: (OFFICE-2284) Invalid constraints



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

Eike Rathke updated OFFICE-2284:
--------------------------------

    Proposal: 
For ACOT, ACOTH and ATAN: remove constraints on return values.


ACOT:

In Summary change
Return the arc cotangent of a number.
to
Returns the principal value of the arc cotangent of a number.

Add to Semantics:
Returns a principal value 0 < result < π.


ACOTH:

Constraints: ABS(N) > 1

In math formula, replace x with N.


ATAN:

In Summary change
Return the arc tangent of a number.
to
Returns the principal value of the arc tangent of a number.

Add to Semantics:
Returns a principal value -π/2 < result < π/2.


ACOS:

In Summary change
Return the arc cosine of a number.
to
Returns the principal value of the arc cosine of a number.

Change Semantics from
Note that the result is between 0.0 and PI(), inclusive.
to
Returns a principal value 0 ≤ result ≤ π.


ASIN:

In Summary change
Return the arc sine of a number.
to
Returns the principal value of the arc sine of a number.

Change Semantics from
The result must be between -PI()/2 and PI()/2.
to
Returns a principal value -π/2 ≤ result ≤ π/2.


> Invalid constraints
> -------------------
>
>                 Key: OFFICE-2284
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-2284
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: OpenFormula
>    Affects Versions: ODF 1.2
>            Reporter: Andreas Guelzow 
>            Assignee: Eike Rathke
>             Fix For: ODF 1.2
>
>
> We have in 5.2:
>   Constraints: A description of constraints, in addition to the constraints imposed by the
>   parameter types. If there are no additional constraints beyond those imposed by the
>   parameter types, this is "None". If a constraint is not met, the function/operator should return
>   an Error unless otherwise noted.
> I always, perhaps incorrectly, read this as that the constraints limit the possible parameters (beyond what is implied by their type).
> In the function descriptions we have:
> ACOT     Constraints: The result must be between 0 and PI().
> ACOTH  Constraints: Real result
> ATAN      Constraints: The result must be between -PI()/2.0 and PI()/2.0.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




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