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] Commented: (OFFICE-2399) Should requirementson PI? - too vague?

    [ http://tools.oasis-open.org/issues/browse/OFFICE-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17597#action_17597 ] 

Dennis Hamilton commented on OFFICE-2399:

I agree that the first statement is passing peculiar, since there is no exact representation of pi in any commonly used Number representation.  Since this will be a constant in a given  implementation, it doesn't matter how hard it is to make it as accurate as possible.

Therefore, it is straightforward to require that the value of PI() SHALL be approximated by the nearest representable Number type value larger or smaller than the mathematical constant, pi.  

I don't know what should be said about whether rounding or truncating is preferable depending on where the approximation ends.  It may matter in terms of inequalities involving PI() but I'm not comfortable taking a position on such a fine detail.  (There is an interdependency on whether or not there is an approximation tolerance in comparison relations.)

> Should requirements on PI? - too vague?
> ---------------------------------------
>                 Key: OFFICE-2399
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-2399
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: OpenFormula
>    Affects Versions: ODF 1.2 Part 2 CD 2
>            Reporter: Patrick Durusau
>            Priority: Minor
> What reads like requirements for Evaluators on PI sounds vague to me:
> "Evaluators are not required to represent pi exactly , but they should make an attempt to give an accurate result given their numerical representation method. Evaluators which use a fixed-length numerical representation should use the closest possible numerical representation."
> I don't think either of these represent meaningful statements. Suggest delete. 

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]