#15363: Segfault in exact_rational for RR
--------------------------------+-----------------------------
Reporter: jdemeyer | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-5.13
Component: basic arithmetic | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
--------------------------------+-----------------------------
{{{
sage: RR(0).nextabove().exact_rational()
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call
last)
<ipython-input-4-15f1a6720d58> in <module>()
----> 1 RR(Integer(0)).nextabove().exact_rational()
/scratch/release/merger/sage-5.12/local/lib/python2.7/site-
packages/sage/rings/real_mpfr.so in
sage.rings.real_mpfr.RealNumber.exact_rational
(sage/rings/real_mpfr.c:18768)()
/scratch/release/merger/sage-5.12/local/lib/python2.7/site-
packages/sage/rings/integer.so in sage.rings.integer.Integer.__pow__
(sage/rings/integer.c:14022)()
RuntimeError: Segmentation fault
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15363>
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.
For more options, visit https://groups.google.com/groups/opt_out.