#6870: [with third patch, needs review] Bug in binomial
------------------------------+---------------------------------------------
 Reporter:  hgranath          |       Owner:  somebody  
     Type:  defect            |      Status:  new       
 Priority:  minor             |   Milestone:  sage-4.1.2
Component:  basic arithmetic  |    Keywords:  binomial  
 Reviewer:                    |      Author:            
   Merged:                    |  
------------------------------+---------------------------------------------

Comment(by kcrisman):

 Unfortunately my Sage upgrade croaked, so I can't check it immediately.
 I will try to do so as soon as possible.

 However, what does this patch do with this?
 {{{
 sage: binomial(SR(3/2),SR(1/1))?
 }}}
 Trying x-m won't work on this.   Note that
 {{{
 sage: type(SR(1/1).pyobject())
 <type 'sage.rings.rational.Rational'>
 }}}
 which means you may still want a m=ZZ(m) or rational check once you have
 discovered you aren't in the n+1 case.   I may have that wrong, though,
 since I can't actually try the patch out.

 As for a trivial point, there is a misspelling of "coerce" as well.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6870#comment:11>
Sage <http://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