• Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • ODF 1.2
    • Affects Version/s: None
    • Component/s: OpenFormula
    • None
    • 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.
    • 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.

      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.

            Assignee:
            Andreas Guelzow (Inactive)
            Reporter:
            Andreas Guelzow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: