File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 3333from .types .dirichlet import *
3434from .functions .showgood import good , showgood
3535
36+ from .flint_base .flint_base import (
37+ FLINT_VERSION as __FLINT_VERSION__ ,
38+ FLINT_RELEASE as __FLINT_RELEASE__ ,
39+ )
40+
3641__version__ = '0.6.0'
Original file line number Diff line number Diff line change 1- from flint.flintlib.flint cimport FLINT_BITS as _FLINT_BITS
1+ from flint.flintlib.flint cimport (
2+ FLINT_BITS as _FLINT_BITS,
3+ FLINT_VERSION as _FLINT_VERSION,
4+ __FLINT_RELEASE as _FLINT_RELEASE,
5+ )
26from flint.flint_base.flint_context cimport thectx
37
48
9+ FLINT_BITS = _FLINT_BITS
10+ FLINT_VERSION = _FLINT_VERSION.decode(" ascii" )
11+ FLINT_RELEASE = _FLINT_RELEASE
12+
13+
514cdef class flint_elem:
615 def __repr__ (self ):
716 if thectx.pretty:
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ cdef extern from "flint/fmpz.h":
3737ctypedef slong fmpz_struct
3838
3939cdef extern from " flint/flint.h" :
40+ const char * FLINT_VERSION
41+ const int __FLINT_RELEASE
4042 const int FLINT_BITS
4143 ctypedef void * flint_rand_t
4244 void flint_randinit(flint_rand_t state)
You can’t perform that action at this time.
0 commit comments