#15373: Implement global_height for Integers
--------------------------------------+----------------------------
Reporter: paulfili | Owner: paulfili
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.13
Component: algebraic geometry | Resolution:
Keywords: sage-days55 | Merged in:
Authors: Paul Fili | Reviewers: Adam Towsley
Report Upstream: N/A | Work issues: docstring
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------------+----------------------------
Comment (by atowsley):
I get the following error with the patch...
sage -t --long integer.pyx
**********************************************************************
File "integer.pyx", line 4150, in sage.rings.integer.Integer.global_height
Failed example:
ZZ(-5).global_height(prec=100)
Expected:
1.6094379124341003746007593332
# This is log(5):
Got:
1.6094379124341003746007593332
**********************************************************************
1 item had failures:
1 of 4 in sage.rings.integer.Integer.global_height
[916 tests, 1 failure, 5.69 s]
----------------------------------------------------------------------
sage -t --long integer.pyx # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 6.0 seconds
cpu time: 4.5 seconds
cumulative wall time: 5.7 seconds
It's the only error I get, but I don't see why it appears. Since the two
values it prints (expected and got) are the same.
--
Ticket URL: <http://trac.sagemath.org/ticket/15373#comment:13>
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.