Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ODF 1.2 Part 2 CD 1
    • Fix Version/s: ODF 1.2 Part 2 CD 3
    • Component/s: OpenFormula
    • Labels:
      None
    • Environment:

      This issue applies to OpenFormula drafts through OpenDocument-part2-draft17-editor-revision.odt

    • Proposal:
      Hide

      Change 5.6.1 General to
      Evaluators shall support unsigned integer values and results of at least 48 bits (values from 0 to 2^48-1 inclusive).

      For all BIT*() functions:
      Remove Portable Constraints.

      Syntax: BITAND( Integer X ; Integer Y )
      Constraints: X ≥ 0, Y ≥ 0

      Syntax: BITLSHIFT( Integer x ; Integer n )
      Constraints: x ≥ 0

      Syntax: BITOR( Integer X ; Integer Y )
      Constraints: X ≥ 0, Y ≥ 0

      Syntax: BITRSHIFT( Integer x ; Integer n )
      Constraints: x ≥ 0

      Syntax: BITXOR( Integer X ; Integer Y )
      Constraints: X ≥ 0, Y ≥ 0

      Show
      Change 5.6.1 General to Evaluators shall support unsigned integer values and results of at least 48 bits (values from 0 to 2^48-1 inclusive). For all BIT*() functions: Remove Portable Constraints. Syntax: BITAND( Integer X ; Integer Y ) Constraints: X ≥ 0, Y ≥ 0 Syntax: BITLSHIFT( Integer x ; Integer n ) Constraints: x ≥ 0 Syntax: BITOR( Integer X ; Integer Y ) Constraints: X ≥ 0, Y ≥ 0 Syntax: BITRSHIFT( Integer x ; Integer n ) Constraints: x ≥ 0 Syntax: BITXOR( Integer X ; Integer Y ) Constraints: X ≥ 0, Y ≥ 0

      Description

      [This topic has been discussed on the list and perhaps on calls. This issue and its sub-issues bring management of the various issues to JIRA.]

      The Bit Operations Functions do not precisely establish the sequence of bits that correspond to a given Integer parameter value and the Integer result. Although this is conventional it needs to be described precisely so that the effect of "left" and "right" shifting is understood, including the loss of bits to the left and right, and the introduction of 0 bits on the right and left.

      The means by which the number of bits is specified/known needs to be addressed both with respect to what an OpenFormula-hosting specification might constrain and how implementtion-defined support might be specified, including absence of support for the set of Bit Operation functions..

        Attachments

          Activity

            People

            • Assignee:
              erack Eike Rathke (Inactive)
              Reporter:
              orcmid Dennis Hamilton (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: