absl::uint128::uint128

Constructors

Synopses

Declared in <absl/numeric/int128.h>

Constructs a uint128 with an unspecified value.

constexpr
uint128() = default;
» more...

Constructs a uint128 from a signed __int128 value.

constexpr
uint128(__int128 v);
» more...

Constructs a uint128 from a double value.

explicit
uint128(double v);
» more...

Constructs a uint128 from a float value.

explicit
uint128(float v);
» more...

Constructs a uint128 from a signed int value.

constexpr
uint128(int v);
» more...

Constructs a uint128 from a signed int128 value.

constexpr
uint128(int128 v);
» more...

Constructs a uint128 from a signed long value.

constexpr
uint128(long v);
» more...

Constructs a uint128 from a long double value.

explicit
uint128(long double v);
» more...

Constructs a uint128 from a signed long long value.

constexpr
uint128(long long v);
» more...

Constructs a uint128 from an unsigned __int128 value.

constexpr
uint128(unsigned __int128 v);
» more...

Constructs a uint128 from an unsigned int value.

constexpr
uint128(unsigned int v);
» more...

Constructs a uint128 from an unsigned long value.

constexpr
uint128(unsigned long v);
» more...

Constructs a uint128 from an unsigned long long value.

constexpr
uint128(unsigned long long v);
» more...

Parameters

NameDescription
vThe value to convert.