#4000: Implement QQ['x'] via Flint ZZ['x'] + denominator
------------------------------+---------------------------------------------
 Reporter:  malb              |         Owner:  somebody                        
                          
     Type:  enhancement       |        Status:  needs_work                      
                          
 Priority:  blocker           |     Milestone:  sage-4.6                        
                          
Component:  basic arithmetic  |    Resolution:                                  
                          
 Keywords:                    |        Author:  Sebastian Pancratz, Martin 
Albrecht                       
 Upstream:  N/A               |      Reviewer:  John Cremona, Martin Albrecht, 
Alex Ghitza, Harald Schilly
   Merged:                    |   Work_issues:  Solaris build error, doctest 
error                        
------------------------------+---------------------------------------------

Comment(by leif):

 Another P.S.:

 While {{{ntl_wrap.h}}} does no harm (it can be included in C programs),
 {{{FLINT/NTL-interface.h}}} is quite funny:
 {{{
 #!CC
 ...
 NTL-interface.h: Header file for NTL-interface.cpp

 Copyright (C) 2007, William Hart

 *****************************************************************************/

 #ifndef FLINT_NTL_INT_H
 #define FLINT_NTL_INT_H

 #ifdef __cplusplus
  extern "C" {
 #endif

 #include <NTL/ZZ.h>
 #include <NTL/ZZX.h>

 #include "flint.h"
 #include "F_mpz.h"
 #include "fmpz.h"
 #include "fmpz_poly.h"

 NTL_CLIENT

 /*
    Returns the number of limbs taken up by an NTL ZZ
 */

 unsigned long ZZ_limbs(const ZZ& z);

 ...
 }}}

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