#17819: Use uintmax_t for Integer.divisors
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-6.6
Component: c_lib | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/ticket/17819 | 3bc79b71b49aa37b7307174f29e228a6c2bc81f6
Dependencies: #17794, #10257 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:13 fbissey]:
> Replying to [comment:12 jdemeyer]:
> > We could also replace `uintmax_t` by `unsigned long` which is usually
the same on 64-bit systems and which doesn't have portability issues.
>
> I guess that would be handy but what happens on 32 bits systems?
When using `unsigned long`, stuff would become slower for 32-bit systems.
It's really a matter of what do you prefer? It's a classical pick 2 out of
3: clean code, fast code, portable code.
--
Ticket URL: <http://trac.sagemath.org/ticket/17819#comment:14>
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.