#12448: The binomial implementation does a quotient of gamma values, which is 
wrong
--------------------------------+-------------------------------------------
   Reporter:  Snark             |          Owner:  AlexGhitza
       Type:  defect            |         Status:  new       
   Priority:  minor             |      Milestone:            
  Component:  basic arithmetic  |       Keywords:            
Work_issues:                    |       Upstream:  N/A       
   Reviewer:                    |         Author:            
     Merged:                    |   Dependencies:            
--------------------------------+-------------------------------------------
 There are special formulas to apply for quotients of gamma values, since
 those quotients can be pretty reasonable even though the numerator and
 denominator are too big, for example:
 {{{
 sage: binomial(float(1000),float(1001))
 nan
 sage: binomial(1000,1001)
 0
 }}}
 and:
 {{{
 sage: binomial(float(1001),float(1000))
 nan
 sage: binomial(1001,1000)
 1001
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12448>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to