#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:186 jdemeyer]:
 > Replying to [comment:184 SimonKing]:
 > > But what should I use `mp_bitcnt_t` for?
 > Any time you need a count of bits (which is always positive!)...

 You mean, in particular, that I should *not* use it for a an index? Hence,
 if I want to refer to bit number `b` in limb number `l`, then both `b` and
 `l` should be `mp_size_t`? Currently, I try to consistently use
 `mp_bitcnt_t` for `b` and `mp_size_t` for `l`.

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