#13376: Optional SPKG for SmallJac
----------------------------------------------------+-----------------------
       Reporter:  pavpanchekha                      |         Owner:  tbd       
     
           Type:  enhancement                       |        Status:  
needs_work     
       Priority:  major                             |     Milestone:            
     
      Component:  optional packages                 |    Resolution:            
     
       Keywords:                                    |   Work issues:            
     
Report Upstream:  N/A                               |     Reviewers:  R. Andrew 
Ohana
        Authors:  Pavel Panchekha, Drew Sutherland  |     Merged in:            
     
   Dependencies:                                    |      Stopgaps:            
     
----------------------------------------------------+-----------------------

Comment (by leif):

 Replying to [comment:17 nbruin]:
 > Replying to [comment:16 leif]:
 > > Unfortunately AFAICS the code also implicitly assumes that
 `sizeof(unsigned long)==8` (instead of using `uint64_t` where
 appropriate), which makes it pretty hard to port it to 32-bit systems (or
 other systems on which that assumption is false).
 >
 > It seems C99 guarantees the existence of `uint_fast64_t`. Perhaps using
 that would be portable?

 ? Using `uint64_t` would be portable.

 With `uint_fast64_t`, you may (at some point in the future...) run into
 problems because the assumption is `sizeof(unsigned long)==8`, not `>=8`,
 at least in most cases.  (128-bit quantities are currently split into two
 `unsigned long`s; it would of course be worth using native integral types
 there if available.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13376#comment:18>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to