← Back to team overview

desktop-packages team mailing list archive

[Bug 891812] Re: Calc: multinomial(1000, 0) returns Err502 instead of 1

 

Thanks to Ch. Penalver for re-writing my bug report into the proper
style. I hope that someone more experienced (than I) in the submitting
of bug reports can take it upstream to libreoffice-calc.

A recurrence for computing the multinomial function as a product of
binomials may be found in the description of the multinomial function in
the Sage mathematics system:

http://www.sagemath.org/doc/reference/sage/rings/arith.html#sage.rings.arith.multinomial

The associated 5-line Python code by Gabriel Ebner may be found here:

http://trac.sagemath.org/sage_trac/attachment/ticket/3132/trac3132-2.diff

** Bug watch added: trac.sagemath.org/sage_trac/attachment/ #3132
   http://trac.sagemath.org/sage_trac/attachment/ticket/3132

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/891812

Title:
  Calc: multinomial(1000,0) returns Err502 instead of 1

Status in LibreOffice Productivity Suite:
  Incomplete
Status in “libreoffice” package in Ubuntu:
  Triaged

Bug description:
  1) lsb_release -rd
  Description:	Ubuntu 11.10
  Release:	11.10

  2) apt-cache policy libreoffice-calc
  libreoffice-calc:
    Installed: 1:3.4.4-0ubuntu1~ppa1
    Candidate: 1:3.4.4-0ubuntu1~ppa1
    Version table:
   *** 1:3.4.4-0ubuntu1~ppa1 0
          500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ oneiric/main i386 Packages
          100 /var/lib/dpkg/status
       1:3.4.3-3ubuntu2 0
          500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages

  LibreOffice Calc 3.4.3, OOO340m1 (Build:302)

  3) What is expected to happen in a blank LibreOffice Calc document is
  when one types in a cell:

  =MULTINOMIAL(1000,0)

  it returns 1.

  4) What happens instead is it returns Err:502.

  More information about multinomial may be found at:
  http://help.libreoffice.org/Calc/Mathematical_Functions#MULTINOMIAL
  http://office.microsoft.com/en-us/excel-help/multinomial-HP005209186.aspx

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/891812/+subscriptions


References