#4000: Implement QQ['x'] via Flint ZZ['x'] + denominator
---------------------------------------------------+------------------------
   Reporter:  malb                                 |       Owner:  somebody    
       Type:  enhancement                          |      Status:  needs_review
   Priority:  major                                |   Milestone:  sage-4.3.2  
  Component:  basic arithmetic                     |    Keywords:              
     Author:  Sebastian Pancratz, Martin Albrecht  |    Upstream:  N/A         
   Reviewer:                                       |      Merged:              
Work_issues:                                       |  
---------------------------------------------------+------------------------

Comment(by AlexGhitza):

 Replying to [comment:43 spancratz]:
 > There's clearly something dodgy going on here.  On my 32-bit laptop,
 with a clean 4.3.1.rc0 install and only the patches from this thread,
 >
 > {{{
 > sage: R.<x> = QQ[]
 > sage: S.<a> = R.quotient(3*x^3 + 3/2*x -1/3)
 > sage: 3 * a^3 + S.modulus()
 > -3/2*a + 1/3
 > sage: timeit('_ = 3 * a^3 + S.modulus()')
 > 5 loops, best of 3: 14.3 s per loop
 > }}}

 I've tried a couple more times and I'm still getting the memory problem
 followed by crash and core dump.  I'm running 32-bit archlinux on a Dell
 laptop, with version 4.4.2 of gcc.  It's a clean build of sage-4.3.1 with
 the patches here.

 I also have a macbook running 64-bit archlinux.  It's busy doing other
 things now, but I can try to test this on it later.

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