Constructors

Synopses

Declared in <absl/numeric/int128.h>

Constructs an int128 with an unspecified value.

constexpr
int128() = default;

Constructs an int128 from a signed __int128 value.

constexpr
int128(__int128 v);

Constructs an int128 from a double value.

constexpr
explicit
int128(double v);

Constructs an int128 from a float value.

constexpr
explicit
int128(float v);

Constructs an int128 from a signed int value.

constexpr
int128(int v);

Constructs an int128 from a signed long value.

constexpr
int128(long v);

Constructs an int128 from a long double value.

constexpr
explicit
int128(long double v);

Constructs an int128 from a signed long long value.

constexpr
int128(long long v);

Constructs an int128 from an unsigned uint128 value.

constexpr
explicit
int128(uint128 v);

Constructs an int128 from an unsigned __int128 value.

constexpr
explicit
int128(unsigned __int128 v);

Constructs an int128 from an unsigned int value.

constexpr
int128(unsigned int v);

Constructs an int128 from an unsigned long value.

constexpr
int128(unsigned long v);

Constructs an int128 from an unsigned long long value.

constexpr
int128(unsigned long long v);

Parameters

Name

Description

v

The value to convert.

Created with MrDocs