14#include <triton/config.hpp>
16#ifdef TRITON_BOOST_INTERFACE
17 #include <boost/multiprecision/cpp_int.hpp>
18 #include <boost/numeric/conversion/cast.hpp>
20 #include <triton/uintwide_t.h>
45 #ifdef TRITON_BOOST_INTERFACE
46 typedef boost::multiprecision::number<boost::multiprecision::cpp_int_backend<80, 80, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void>>
uint80;
52 #ifdef TRITON_BOOST_INTERFACE
53 typedef boost::multiprecision::uint128_t
uint128;
59 #ifdef TRITON_BOOST_INTERFACE
60 typedef boost::multiprecision::uint256_t
uint256;
66 #ifdef TRITON_BOOST_INTERFACE
67 typedef boost::multiprecision::uint512_t
uint512;
85 #ifdef TRITON_BOOST_INTERFACE
86 typedef boost::multiprecision::int128_t
sint128;
92 #ifdef TRITON_BOOST_INTERFACE
93 typedef boost::multiprecision::int256_t
sint256;
99 #ifdef TRITON_BOOST_INTERFACE
100 typedef boost::multiprecision::int512_t
sint512;
108 #if defined(__x86_64__) || defined(_M_X64) || defined(__aarch64__) || defined(__riscv64__)
116 #if defined(__i386) || defined(_M_IX86)
118 typedef unsigned int __uint;
121 typedef signed int __sint;
Used as a hash function in hash tables containers (std::unordered_map, robin_map).
T operator()(const T &key) const
Returns the key as is.
math::wide_integer::uint128_t uint128
unsigned 128-bits
std::int32_t sint32
signed 32-bits
std::int16_t sint16
signed 16-bits
math::wide_integer::uint256_t uint256
unsigned 256-bits
std::uint16_t uint16
unisgned 16-bits
math::wide_integer::int512_t sint512
signed 512-bits
std::int64_t sint64
signed 64-bits
std::size_t usize
unsigned MAX_INT 32 or 64 bits according to the CPU.
math::wide_integer::int128_t sint128
signed 128-bits
signed long long __sint
signed long long if the arch is 64-bits.
std::int8_t sint8
signed 8-bits
math::wide_integer::uintwide_t< static_cast< size_t >(UINT32_C(80)), std::uint16_t > uint80
unsigned 80-bits
math::wide_integer::int256_t sint256
signed 256-bits
std::uint64_t uint64
unisgned 64-bits
math::wide_integer::uint512_t uint512
unsigned 512-bits
std::uint32_t uint32
unisgned 32-bits
unsigned long long __uint
unsigned long long if the arch is 64-bits.
std::uint8_t uint8
unisgned 8-bits