Home
last modified time | relevance | path

Searched refs:BcRandState (Results 1 – 3 of 3) sorted by relevance

/src/contrib/bc/include/
H A Drand.h100 typedef __uint128_t BcRandState; typedef
108 #define bc_rand_mul(a, b) (((BcRandState) (a)) * ((BcRandState) (b)))
116 #define bc_rand_add(a, b) (((BcRandState) (a)) + ((BcRandState) (b)))
124 #define bc_rand_mul2(a, b) (((BcRandState) (a)) * ((BcRandState) (b)))
132 #define bc_rand_add2(a, b) (((BcRandState) (a)) + ((BcRandState) (b)))
155 #define BC_RAND_CONSTANT(h, l) ((((BcRandState) (h)) << 64) + (BcRandState) (l))
181 typedef struct BcRandState struct
189 } BcRandState; argument
310 typedef uint_fast64_t BcRandState; typedef
318 #define bc_rand_mul(a, b) (((BcRandState) (a)) * ((BcRandState) (b)))
[all …]
/src/contrib/bc/src/
H A Drand.c69 static BcRandState
72 BcRandState res; in bc_rand_addition()
86 static BcRandState
87 bc_rand_addition2(BcRandState a, BcRandState b) in bc_rand_addition2()
89 BcRandState temp, res; in bc_rand_addition2()
104 static BcRandState
108 BcRandState carry, res; in bc_rand_multiply()
134 static BcRandState
135 bc_rand_multiply2(BcRandState a, BcRandState b) in bc_rand_multiply2()
137 BcRandState c0, c1, c2, carry; in bc_rand_multiply2()
[all …]
H A Ddata.c1298 const BcRandState bc_rand_multiplier = BC_RAND_MULTIPLIER;