27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
ifdef(“type_bit64”,“
typedef unsigned type_bit64 u64;
typedef signed type_bit64 s64;
ifdef(“type_bit128”,,“
/* even if no native type is 128 bits long, clang and
* gcc have extensions to support 128 bit arithmetic
* on 64-bit hardware */
# if defined(__GNUC__) || defined(__clang__)
typedef __uint128_t u128;
typedef __int128_t s128;
# else
/* if we don`'t have access to that extension
* or native 128-bit types, then we just use
* the largest native type specified in the
* C standard */
|
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
ifdef(“type_bit64”,“
typedef unsigned type_bit64 u64;
typedef signed type_bit64 s64;
ifdef(“type_bit128”,,“
/* even if no native type is 128 bits long, clang and
* gcc have extensions to support 128 bit arithmetic
* on some 64-bit hardware */
# ifdef __SIZEOF_INT128__
typedef __uint128_t u128;
typedef __int128_t s128;
# else
/* if we don`'t have access to that extension
* or native 128-bit types, then we just use
* the largest native type specified in the
* C standard */
|