Polly 20.0.0git
Functions
isl_imath.h File Reference
#include <imath.h>
#include <gmp_compat.h>

Go to the source code of this file.

Functions

uint32_t isl_imath_hash (mp_int v, uint32_t hash)
 
int isl_imath_fits_ulong_p (mp_int op)
 
int isl_imath_fits_slong_p (mp_int op)
 
void isl_imath_addmul_ui (mp_int rop, mp_int op1, unsigned long op2)
 
void isl_imath_submul_ui (mp_int rop, mp_int op1, unsigned long op2)
 
void isl_imath_cdiv_q_ui (mp_int rop, mp_int op1, unsigned long op2)
 
void isl_imath_fdiv_q_ui (mp_int rop, mp_int op1, unsigned long op2)
 

Function Documentation

◆ isl_imath_addmul_ui()

void isl_imath_addmul_ui ( mp_int  rop,
mp_int  op1,
unsigned long  op2 
)

Definition at line 33 of file isl_imath.c.

References mp_int_add, mp_int_clear, mp_int_init, mp_int_mul, and mp_int_set_uvalue.

◆ isl_imath_cdiv_q_ui()

void isl_imath_cdiv_q_ui ( mp_int  rop,
mp_int  op1,
unsigned long  op2 
)

Definition at line 60 of file isl_imath.c.

References impz_cdiv_q, lhs, mp_int_clear, mp_int_init, mp_int_set_uvalue, and rhs.

◆ isl_imath_fdiv_q_ui()

void isl_imath_fdiv_q_ui ( mp_int  rop,
mp_int  op1,
unsigned long  op2 
)

Definition at line 74 of file isl_imath.c.

References impz_fdiv_q, lhs, mp_int_clear, mp_int_init, mp_int_set_uvalue, and rhs.

◆ isl_imath_fits_slong_p()

int isl_imath_fits_slong_p ( mp_int  op)

Definition at line 17 of file isl_imath.c.

References mp_int_to_int, MP_OK, op, and res.

◆ isl_imath_fits_ulong_p()

int isl_imath_fits_ulong_p ( mp_int  op)

Definition at line 26 of file isl_imath.c.

References mp_int_to_uint, MP_OK, op, and res.

◆ isl_imath_hash()

uint32_t isl_imath_hash ( mp_int  v,
uint32_t  hash 
)

Definition at line 3 of file isl_imath.c.

◆ isl_imath_submul_ui()

void isl_imath_submul_ui ( mp_int  rop,
mp_int  op1,
unsigned long  op2 
)

Definition at line 45 of file isl_imath.c.

References mp_int_clear, mp_int_init, mp_int_mul, mp_int_set_uvalue, and mp_int_sub.