Constructors

Synopses

Declared in <absl/numeric/int128.h>

Constructs a uint128 with an unspecified value.

constexpr
uint128() = default;

Constructs a uint128 from a signed __int128 value.

constexpr
uint128(__int128 v);

Constructs a uint128 from a double value.

explicit
uint128(double v);

Constructs a uint128 from a float value.

explicit
uint128(float v);

Constructs a uint128 from a signed int value.

constexpr
uint128(int v);

Constructs a uint128 from a signed int128 value.

constexpr
uint128(int128 v);

Constructs a uint128 from a signed long value.

constexpr
uint128(long v);

Constructs a uint128 from a long double value.

explicit
uint128(long double v);

Constructs a uint128 from a signed long long value.

constexpr
uint128(long long v);

Constructs a uint128 from an unsigned __int128 value.

constexpr
uint128(unsigned __int128 v);

Constructs a uint128 from an unsigned int value.

constexpr
uint128(unsigned int v);

Constructs a uint128 from an unsigned long value.

constexpr
uint128(unsigned long v);

Constructs a uint128 from an unsigned long long value.

constexpr
uint128(unsigned long long v);

Parameters

Name

Description

v

The value to convert.

Created with MrDocs