#4000: Implement QQ['x'] via Flint ZZ['x'] + denominator
--------------------------------------------------------------------------+-
Reporter: malb |
Owner: somebody
Type: enhancement |
Status: needs_review
Priority: major |
Milestone: sage-4.5.2
Component: basic arithmetic |
Keywords:
Author: Sebastian Pancratz, Martin Albrecht |
Upstream: N/A
Reviewer: John Cremona, Martin Albrecht, Alex Ghitza, Harald Schilly |
Merged:
Work_issues: |
--------------------------------------------------------------------------+-
Comment(by rlm):
I get the following error:
{{{
sage -t -long "devel/sage-
main/sage/rings/polynomial/polynomial_rational_flint.pyx"
Error: unable to alloc/realloc memory
**********************************************************************
File "/scratch/rlmill/sage-4.5.1.vg/devel/sage-
main/sage/rings/polynomial/polynomial_rational_flint.pyx", line 992:
sage: (1 + t)^(2^31)
Expected:
Traceback (most recent call last):
...
OverflowError: long int too large to convert to int
Got:
Traceback (most recent call last):
File "/scratch/rlmill/sage-4.5.1.vg/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/scratch/rlmill/sage-4.5.1.vg/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/scratch/rlmill/sage-4.5.1.vg/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_32[11]>", line 1, in <module>
(Integer(1) + t)**(Integer(2)**Integer(31))###line 992:
sage: (1 + t)^(2^31)
RuntimeError
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4000#comment:78>
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.