Details

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

      Since there is exactly 1 permutation of 0 chosen objects from 0 total objects we should have:

      Semantics: Given total number of objects, return the number of permutations containing chosen
      number of objects, with repetition permitted.
      PERMUTATIONA is 1 if Total = 0 = Chosen and Total^Chosen other wise.

      Show
      Since there is exactly 1 permutation of 0 chosen objects from 0 total objects we should have: Semantics: Given total number of objects, return the number of permutations containing chosen number of objects, with repetition permitted. PERMUTATIONA is 1 if Total = 0 = Chosen and Total^Chosen other wise.
    • Resolution:
      Hide

      Constraints: Total >= 0, Chosen >= 0

      Changed Semantics to:
      The result is 1 if Total = 0 and Chosen = 0, otherwise the result is Total^Chosen.

      Show
      Constraints: Total >= 0, Chosen >= 0 Changed Semantics to: The result is 1 if Total = 0 and Chosen = 0, otherwise the result is Total^Chosen.

      Description

      We currently have:
      ---------------------------------------------------------------------------------------
      Summary: Returns the number of permutations for a given number of objects (repetition allowed).
      Syntax: PERMUTATIONA( Integer total ; Integer chosen )
      Returns: Number
      Constraints: total >= 0, 0 <= chosen <= total
      Semantics: Given total number of objects, return the number of permutations containing chosen
      number of objects, with repetition permitted.
      PERMUTATIONA = Total^Chosen
      ---------------------------------------------------------------------------------------
      It is not clear what PERMUTAIONA(0,0) should be since 0^0 is undefined.

        Attachments

          Activity

            People

            • Assignee:
              aguelzow Andreas Guelzow (Inactive)
              Reporter:
              aguelzow Andreas Guelzow (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: