FUInt128

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Int128.h

Include

#include "Math/Int128.h"

Syntax

class FUInt128

Constructors

Name Description

Public function

FUInt128()

Default constructor. Initializes the number to zero.

Public function

FUInt128

(
    const FUInt128&
)

Default constructors.

Public function

FUInt128

(
    FUInt128&&
)

Public function

FUInt128

(
    uint64 A
)

  1. Initializes this uint128 with a uint64 value.

Public function

FUInt128

(
    uint64 A,
    uint64 B
)

  1. Initializes this uint128 with two uint64 values.

Public function

FUInt128

(
    uint32 A,
    uint32 B,
    uint32 C,
    uint32 D
)

  1. Initializes this uint128 with four uint32 values.

Functions

Name Description

Public function

FUInt128

 

Add

(
    uint32 Value
)

Add an unsigned 32bit value

Public function

FUInt128

 

Divide

(
    uint32 Divisor,
    uint32& Remainder
)

Divide by an unsigned 32bit value

Public function

uint32

 

GetQuadPart

(
    uint32 Part
)

Gets internal quad parts.

Public function Const

bool

 

IsEqual

(
    const FUInt128& Other
)

This == Other

Public function Const

bool

 

IsGreater

(
    const FUInt128& Other
)

This > Other

Public function Const

bool

 

IsGreaterOrEqual

(
    const FUInt128& Other
)

This >= Other

Public function Const

bool

 

IsGreaterThanZero()

Public function Const

bool

 

IsLess

(
    const FUInt128& Other
)

This < Other

Public function Const

bool

 

IsLessOrEqual

(
    const FUInt128& Other
)

This <= Other

Public function Const

bool

 

IsZero()

Public function

FUInt128

 

Multiply

(
    uint32 Multiplier
)

Multiply by an unsigned 32bit value

Public function

void

 

Set

(
    uint64 InHi,
    uint64 InLo
)

Initializes this number with a pair of 64 bit integer values.

Public function

void

 

SetQuadPart

(
    uint32 Part,
    uint32 Value
)

Sets internal quad parts.

Public function

FUInt128

 

Sub

(
    uint32 Value
)

Subtract an unsigned 32bit value

Public function

void

 

Zero()

Sets this number to 0.

Operators

Name Description

Public function

FUInt128 &

 

operator*=

(
    uint32 Other
)

Public function

FUInt128 &

 

operator/=

(
    uint32 Other
)

Public function

FUInt128 &

 

operator+=

(
    uint32 Other
)

Arithmetic operators

Public function Const

bool

 

operator<

(
    const FUInt128& Other
)

Public function Const

bool

 

operator<=

(
    const FUInt128& Other
)

Public function

FUInt128 &

 

operator=

(
    FUInt128 const&
)

Public function

FUInt128 &

 

operator=

(
    FUInt128&&
)

Public function

FUInt128 &

 

operator-=

(
    uint32 Other
)

Public function Const

bool

 

operator==

(
    const FUInt128& Other
)

Public function Const

bool

 

operator>

(
    const FUInt128& Other
)

Comparison operators

Public function Const

bool

 

operator>=

(
    const FUInt128& Other
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss