#6870: [with second patch, needs work] 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 hgranath):

 But I have a problem then. In the situation where x is of type SR and
 m of type Integer, consider the cases x is n+1 (case A) and x is
 SR(10**7) (case B).

 To handle these cases correctly they have to be treated differently,
 but how to distinguish between them using fast checks like
 "isinstance" and similar if using "try: ZZ(x)" is not allowed because
 it will slow down case A?

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