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-3041) Bit operations,still some ambiguity

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

Dennis Hamilton commented on OFFICE-3041:

+1 I realized that we also need to say something about parameter values that are outside of the specified range.  I would say Operations that accept or result in values that cannot be ... produce a result that is Implementation Defined.  (The case that caught me was 2^48 being shifted right one.)

> Bit operations, still some ambiguity
> ------------------------------------
>                 Key: OFFICE-3041
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3041
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: OpenFormula
>    Affects Versions: ODF 1.2 CD 05
>            Reporter: Eric Patterson
>            Assignee: Eric Patterson
>             Fix For: ODF 1.2 CD 06
> As part of the fix in http://tools.oasis-open.org/issues/browse/OFFICE-2327, we've set the minimum to 48 bits, but in doing so, there is still ambiguity when doing shift operations.  If implementations have different maximums, you may get different results when shifting outside the range.  
> Assuming the minimum 48-bit support is provided, then BITLSHIFT(1,48) places the 1 in the 49th bit which is outside of the 48-bit range that's supported.  Is that bit lost (producing 0 as a result), or does that produce an error?

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]