[#absl-uint128-2constructor-00]
= xref:absl.adoc[absl]::xref:absl/uint128.adoc[uint128]::uint128
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;absl&sol;numeric&sol;int128&period;h&gt;`

Constructs a `uint128` with an unspecified value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128/2constructor-05.adoc[uint128]() = default;
----

[.small]#xref:absl/uint128/2constructor-05.adoc[_» more&period;&period;&period;_]#

Constructs a `uint128` from a signed `&lowbar;&lowbar;int128` value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128/2constructor-071.adoc[uint128](&lowbar;&lowbar;int128 v);
----

[.small]#xref:absl/uint128/2constructor-071.adoc[_» more&period;&period;&period;_]#

Constructs a `uint128` from a `double` value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:absl/uint128/2constructor-0c2.adoc[uint128](double v);
----

[.small]#xref:absl/uint128/2constructor-0c2.adoc[_» more&period;&period;&period;_]#

Constructs a `uint128` from a `float` value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:absl/uint128/2constructor-064.adoc[uint128](float v);
----

[.small]#xref:absl/uint128/2constructor-064.adoc[_» more&period;&period;&period;_]#

Constructs a `uint128` from a signed `int` value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128/2constructor-07c.adoc[uint128](int v);
----

[.small]#xref:absl/uint128/2constructor-07c.adoc[_» more&period;&period;&period;_]#

Constructs a `uint128` from a signed `int128` value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128/2constructor-06c.adoc[uint128](xref:absl/int128.adoc[int128] v);
----

[.small]#xref:absl/uint128/2constructor-06c.adoc[_» more&period;&period;&period;_]#

Constructs a `uint128` from a signed `long` value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128/2constructor-079.adoc[uint128](long v);
----

[.small]#xref:absl/uint128/2constructor-079.adoc[_» more&period;&period;&period;_]#

Constructs a `uint128` from a `long double` value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:absl/uint128/2constructor-01.adoc[uint128](long double v);
----

[.small]#xref:absl/uint128/2constructor-01.adoc[_» more&period;&period;&period;_]#

Constructs a `uint128` from a signed `long long` value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128/2constructor-0f.adoc[uint128](long long v);
----

[.small]#xref:absl/uint128/2constructor-0f.adoc[_» more&period;&period;&period;_]#

Constructs a `uint128` from an `unsigned &lowbar;&lowbar;int128` value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128/2constructor-0e.adoc[uint128](unsigned &lowbar;&lowbar;int128 v);
----

[.small]#xref:absl/uint128/2constructor-0e.adoc[_» more&period;&period;&period;_]#

Constructs a `uint128` from an `unsigned int` value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128/2constructor-0b.adoc[uint128](unsigned int v);
----

[.small]#xref:absl/uint128/2constructor-0b.adoc[_» more&period;&period;&period;_]#

Constructs a `uint128` from an `unsigned long` value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128/2constructor-0ca.adoc[uint128](unsigned long v);
----

[.small]#xref:absl/uint128/2constructor-0ca.adoc[_» more&period;&period;&period;_]#

Constructs a `uint128` from an `unsigned long long` value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:absl/uint128/2constructor-076.adoc[uint128](unsigned long long v);
----

[.small]#xref:absl/uint128/2constructor-076.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *v*
| The value to convert&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
