Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/Int128.h |
| Include | #include "Math/Int128.h" |
Syntax
class FUInt128
Constructors
| Type | Name | Description | |
|---|---|---|---|
FUInt128 () |
Default constructor. Initializes the number to zero. | ||
| Default constructors. | |||
FUInt128
(
uint64 A |
Constructor. Initializes this uint128 with a uint64 value. | ||
FUInt128
(
uint64 A, |
Constructor. Initializes this uint128 with two uint64 values. | ||
FUInt128
(
uint32 A, |
Constructor. Initializes this uint128 with four uint32 values. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FUInt128 | Add
(
uint32 Value |
Add an unsigned 32bit value | |
| FUInt128 | Divide
(
uint32 Divisor, |
Divide by an unsigned 32bit value | |
| uint32 | GetQuadPart
(
uint32 Part |
Gets internal quad parts. | |
| bool | This == Other | ||
| bool | This > Other | ||
| bool | IsGreaterOrEqual
(
const FUInt128& Other |
This >= Other | |
| bool | |||
| bool | This < Other | ||
| bool | IsLessOrEqual
(
const FUInt128& Other |
This <= Other | |
| bool | IsZero () |
||
| FUInt128 | Multiply
(
uint32 Multiplier |
Multiply by an unsigned 32bit value | |
| void | Set
(
uint64 InHi, |
Initializes this number with a pair of 64 bit integer values. | |
| void | SetQuadPart
(
uint32 Part, |
Sets internal quad parts. | |
| FUInt128 | Sub
(
uint32 Value |
Subtract an unsigned 32bit value | |
| void | Zero () |
Sets this number to 0. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FUInt128 & | operator*=
(
uint32 Other |
||
| FUInt128 & | operator/=
(
uint32 Other |
||
| FUInt128 & | operator+=
(
uint32 Other |
Arithmetic operators | |
| bool | |||
| bool | operator<=
(
const FUInt128& Other |
||
| FUInt128 & | |||
| FUInt128 & | |||
| FUInt128 & | operator-=
(
uint32 Other |
||
| bool | operator==
(
const FUInt128& Other |
||
| bool | Comparison operators | ||
| bool | operator>=
(
const FUInt128& Other |