40 __int128
xgcd( __int128 p_a, __int128 p_b, __int128 & p_s, __int128 & p_t );
58 int32_t
rand( uint32_t * seed );
Collection of numeric algorithms.
Definition algo.h:27
__int128 xgcd(__int128 p_a, __int128 p_b, __int128 &p_s, __int128 &p_t)
Extended Euclidean algorithm.
Definition algo.cpp:31
bool isint128(std::string p_str)
Is the string a 128 bit integer.
Definition algo.cpp:72
int32_t rand(uint32_t *seed)
ISO C rand_r() for 32 bit.
Definition algo.cpp:133