Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

""" 

Flint imports 

  

TESTS: 

  

Import this module:: 

  

sage: import sage.libs.flint.flint 

  

We verify that :trac:`6919` is correctly fixed:: 

  

sage: R.<x> = PolynomialRing(ZZ) 

sage: A = 2^(2^17+2^15) 

sage: a = A * x^31 

sage: b = (A * x) * x^30 

sage: a == b 

True 

""" 

from __future__ import absolute_import 

  

# cimport all .pxd files to make sure they compile 

cimport sage.libs.flint.arith 

cimport sage.libs.flint.fmpq_poly 

cimport sage.libs.flint.fmpq 

cimport sage.libs.flint.fmpz_mat 

cimport sage.libs.flint.fmpz_mod_poly 

cimport sage.libs.flint.fmpz_poly 

cimport sage.libs.flint.fmpz 

cimport sage.libs.flint.fmpz_vec 

cimport sage.libs.flint.fq_nmod 

cimport sage.libs.flint.fq 

cimport sage.libs.flint.nmod_poly 

cimport sage.libs.flint.nmod_vec 

cimport sage.libs.flint.padic 

cimport sage.libs.flint.types 

cimport sage.libs.flint.ulong_extras 

  

  

def free_flint_stack(): 

_fmpz_cleanup_mpz_content()