25 #ifndef USE_NATIVE_INT128
26 #define USE_NATIVE_INT128 0
41 #ifdef WORDS_BIGENDIAN
74 main(
int argc,
char **argv)
81 count = strtol(argv[1], NULL, 0);
97 t1.
i128 += (int128) (uint64) z;
102 printf(
"%016lX%016lX + unsigned %lX\n",
x,
y, z);
112 t1.
i128 += (int128) z;
117 printf(
"%016lX%016lX + signed %lX\n",
x,
y, z);
124 t1.
i128 = (int128)
x * (int128)
y;
146 printf(
"comparison failure: %d vs %d\n",
160 printf(
"comparison failure: %d vs %d\n",
static void int128_add_uint64(INT128 *i128, uint64 v)
static int int128_compare(INT128 x, INT128 y)
static void int128_add_int64(INT128 *i128, int64 v)
static void int128_add_int64_mul_int64(INT128 *i128, int64 x, int64 y)
uint64 pg_prng_uint64(pg_prng_state *state)
void pg_prng_seed(pg_prng_state *state, uint64 seed)
pg_prng_state pg_global_prng_state
int main(int argc, char **argv)
static int my_int128_compare(int128 x, int128 y)