#4000: Implement QQ['x'] via Flint ZZ['x'] + denominator
------------------------------+---------------------------------------------
Reporter: malb | Owner: somebody
Type: enhancement | Status: needs_review
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:
------------------------------+---------------------------------------------
Comment(by mpatel):
On bsd.math, I get
{{{
#!python
sage -t -long -force_lib
devel/sage/sage/rings/number_field/number_field_ideal.py
**********************************************************************
File
"/Users/buildbot/build/sage/bsd-1/bsd_full/build/sage-4.6.alpha3/devel
/sage-main/sage/rings/number_field/number_field_ideal.py", line 194:
sage: NumberField(x^2 + 1, 'a').ideal(7).__hash__()
Expected:
-9223372036854775779
Got:
-288230376151711715
}}}
so it seems we can just update the example at line 194 in
`number_field_ideal.py`, which is currently:
{{{
#!python
sage: NumberField(x^2 + 1, 'a').ideal(7).__hash__()
-9223372036854775779 # 64-bit
-2147483619 # 32-bit
}}}
Is is OK?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4000#comment:127>
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.