Details

    • Type: Bug
    • Status: Applied
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ODF 1.2 CD 05
    • Fix Version/s: ODF 1.2 CD 06
    • Component/s: OpenFormula
    • Labels:
      None
    • Proposal:
      Hide

      Update 6.6.1 as follows:

      6.6.1 General
      Evaluators shall support unsigned integer values and results of at least 48 bits (values from 0 to 2^48-1 inclusive). Operations that resut in a value that cannot be represented within 48 bits produce a result that is Implementation Defined

      Show
      Update 6.6.1 as follows: 6.6.1 General Evaluators shall support unsigned integer values and results of at least 48 bits (values from 0 to 2^48-1 inclusive). Operations that resut in a value that cannot be represented within 48 bits produce a result that is Implementation Defined
    • Resolution:
      Hide

      Update 6.6.1 as follows:

      6.6.1 General
      Evaluators shall support unsigned integer values and results of at least 48 bits (values from 0 to 2^48-1 inclusive). Operations that receive or result in a value that cannot be represented within 48 bits are implementation-defined.

      Show
      Update 6.6.1 as follows: 6.6.1 General Evaluators shall support unsigned integer values and results of at least 48 bits (values from 0 to 2^48-1 inclusive). Operations that receive or result in a value that cannot be represented within 48 bits are implementation-defined.

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              patrick Patrick Durusau
              Reporter:
              ericpa Eric Patterson
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: