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-2325) Negative andnon-integer inputs for BASE and DECIMAL Functions



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

Eike Rathke updated OFFICE-2325:
--------------------------------

    Proposal: 
BASE:

In Syntax, change all Number types to Integer types for all parameters.

Constraints: X ≥ 0, 2 ≤ Radix ≤ 36, MinimumLength  ≥ 0

Remove Portable Constraints.


DECIMAL:

Constraints: 2 ≤ Radix ≤ 36

Remove Portable Constraints.


Negative values are not allowed, all parameters are integer, no radix > 36 defined.

> Negative and non-integer inputs for BASE and DECIMAL Functions
> --------------------------------------------------------------
>
>                 Key: OFFICE-2325
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-2325
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: OpenFormula
>            Reporter: Eric Patterson
>            Assignee: Eike Rathke
>             Fix For: ODF 1.2
>
>
> are negative values allowed for BASE and DECIMAL Fucntions?
> If negatives are allowed are they denoted simply by a leading minus sign?
> The spec seems to allow non-integer inputs, is this correct?  If so how should we handle cases like BASE(0.5,3) as 0.5 is not finitely representable in base 3, and since we're returning a string we could (at least theoretically) go on forever?

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