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-2209) When are exactnumerical results required?

• From: OASIS Issues Tracker <workgroup_mailer@lists.oasis-open.org>
• To: office@lists.oasis-open.org
• Date: Tue, 5 Oct 2010 11:04:15 -0400 (EDT)

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

Dennis Hamilton updated OFFICE-2209:
------------------------------------

Component/s: OpenFormula
Part 2 (Formulas)
(was: OpenFormula Test Cases)

Removed this being about test cases, although I use test cases as examples.

> When are exact numerical results required?
> ------------------------------------------
>
>                 Key: OFFICE-2209
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-2209
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: Needs Discussion, OpenFormula, Part 2 (Formulas)
>    Affects Versions: ODF 1.2 Part 2 CD 1
>         Environment: This applies in section 2.6 on Numerical Models, in the treatment of section 3.3 Number types (including subtypes), and in the definitions of operators and functions where there is something to be said for the quality with which results are approximated.
>            Reporter: Robert Weir
>            Assignee: Dennis Hamilton
>
>
> Test case for TAN() currently is:
> =TAN(PI()/4.0)
> with an expected result of:
> 1±ε
> However a test case for LOG() is:
> =LOG(8*8*8; 8)
> with expected result of 3 (with no epsilon).
> Is this intentional?  I suspect that few implementations are going to be optimized to produce exact results here.
> Do we have a general rule here?  Shouldn't it be that any function that has a domain of real numbers should be allowed an epsilon on test results?  And only functions whose domain consists of the integers should be required to give exact results?

--
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
-