absl::int128::int128

Constructors

Synopses

Declared in <absl/numeric/int128.h>

Constructs an int128 with an unspecified value.

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

Constructs an int128 from a signed __int128 value.

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

Constructs an int128 from a double value.

constexpr
explicit
int128(double v);
» more...

Constructs an int128 from a float value.

constexpr
explicit
int128(float v);
» more...

Constructs an int128 from a signed int value.

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

Constructs an int128 from a signed long value.

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

Constructs an int128 from a long double value.

constexpr
explicit
int128(long double v);
» more...

Constructs an int128 from a signed long long value.

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

Constructs an int128 from an unsigned uint128 value.

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

Constructs an int128 from an unsigned __int128 value.

constexpr
explicit
int128(unsigned __int128 v);
» more...

Constructs an int128 from an unsigned int value.

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

Constructs an int128 from an unsigned long value.

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

Constructs an int128 from an unsigned long long value.

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

Parameters

NameDescription
vThe value to convert.