#15820: Implement sequences of bounded integers
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  algebra            |   Resolution:
       Keywords:  sequence bounded   |    Merged in:
  integer                            |    Reviewers:
        Authors:  Simon King         |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  1f5a53e7b23e406c553d789f83604cd4a7f90655
  u/SimonKing/ticket/15820           |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Replying to [comment:187 jdemeyer]:
 > Replying to [comment:185 SimonKing]:
 > > If you find a spot where this is not the case, please tell me.
 > {{{
 > cdef int biseq_getitem(biseq_t S, mp_size_t index) except -1
 >      ^^^
 > }}}

 Rationale: This function does not return a limb, but only one item (and a
 limb may comprise many items). To keep them apart, I chose a different
 type. Moreover, I consider `mp_limb_t` as a type that belongs to gmp. But
 the return type of that function should belong to the "Python world".

--
Ticket URL: <http://trac.sagemath.org/ticket/15820#comment:190>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to