Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/src/sage/libs/flint/flint.pyx
8817 views
1
"""
2
TESTS:
3
4
We verify that Trac #6919 is correctly fixed::
5
6
sage: R.<x> = PolynomialRing(ZZ)
7
sage: A = 2^(2^17+2^15)
8
sage: a = A * x^31
9
sage: b = (A * x) * x^30
10
sage: a == b
11
True
12
"""
13
include "sage/ext/stdsage.pxi"
14
include "sage/ext/cdefs.pxi"
15
16
def free_flint_stack():
17
_fmpz_cleanup_mpz_content()
18
19