Uploaded image for project: 'OASIS Open Document Format for Office Applications (OpenDocument) TC'
  1. OASIS Open Document Format for Office Applications (OpenDocument) TC
  2. OFFICE-3378

19.367 number:truncate-on-overflow - meaning of modulo? - not well-defined? - see description

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Applied
    • Priority: Major
    • Resolution: No Action
    • Affects Version/s: ODF 1.2 CD 05
    • Fix Version/s: ODF 1.2 CD 06
    • Component/s: Public Review
    • Labels:
      None

      Description

      We had a long discussion in http://tools.oasis-open.org/issues/browse/OFFICE-1689 about this attribute but missed the use of "modulo."

      From what I have found, for example:

      http://en.wikipedia.org/wiki/Modulo_operation

      http://mathworld.wolfram.com/ModularArithmetic.html

      http://www.cafeaulait.org/course/week2/15.html

      http://msdn.microsoft.com/en-us/library/se0w9esz%28VS.71%29.aspx

      So the remainder of 24 modulo 24 is 0.

      So the remainder of 48 modulo 24 is 0.

      So the remainder of 72 modulo 24 is 0.

      That can't be what we meant.

      Rather I think we meant to have the quotient plus any remainder.

      Yes?

      Apologies for missing this in our prior discussion. It seems so clear now.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: