Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/src/sage/rings/finite_rings/stdint.pxd
8820 views
"""
C Integer Types Used in Finite Rings
"""

#*****************************************************************************
#       Copyright (C) 2013 Volker Braun <[email protected]>
#       Copyright (C) 2013 William Stein <[email protected]>
#
#  Distributed under the terms of the GNU General Public License (GPL)
#
#                  http://www.gnu.org/licenses/
#*****************************************************************************

cimport libc.stdint

cdef extern from "sage/rings/finite_rings/stdint.h":
    ctypedef libc.stdint.int_fast32_t int_fast32_t
    ctypedef libc.stdint.int_fast64_t int_fast64_t
    int_fast32_t INTEGER_MOD_INT32_LIMIT
    int_fast64_t INTEGER_MOD_INT64_LIMIT