UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FUInt128 Class Reference

#include <Int128.h>

Public Member Functions

uint32 GetQuadPart (uint32 Part) const
 
void SetQuadPart (uint32 Part, uint32 Value)
 
UE_FORCEINLINE_HINT void Zero ()
 
void Set (uint64 InHi, uint64 InLo)
 
UE_FORCEINLINE_HINT FUInt128 (const FUInt128 &)=default
 
UE_FORCEINLINE_HINT FUInt128 (FUInt128 &&)=default
 
UE_FORCEINLINE_HINT FUInt128operator= (FUInt128 const &)=default
 
UE_FORCEINLINE_HINT FUInt128operator= (FUInt128 &&)=default
 
 FUInt128 ()
 
 FUInt128 (uint64 A)
 
 FUInt128 (uint64 A, uint64 B)
 
 FUInt128 (uint32 A, uint32 B, uint32 C, uint32 D)
 
bool IsGreater (const FUInt128 &Other) const
 
bool IsGreaterOrEqual (const FUInt128 &Other) const
 
bool IsLess (const FUInt128 &Other) const
 
bool IsLessOrEqual (const FUInt128 &Other) const
 
UE_FORCEINLINE_HINT bool IsEqual (const FUInt128 &Other) const
 
FUInt128 Add (uint32 Value)
 
FUInt128 Sub (uint32 Value)
 
FUInt128 Multiply (uint32 Multiplier)
 
FUInt128 Divide (uint32 Divisor, uint32 &Remainder)
 
UE_FORCEINLINE_HINT bool operator> (const FUInt128 &Other) const
 
UE_FORCEINLINE_HINT bool operator>= (const FUInt128 &Other) const
 
UE_FORCEINLINE_HINT bool operator== (const FUInt128 &Other) const
 
UE_FORCEINLINE_HINT bool operator< (const FUInt128 &Other) const
 
UE_FORCEINLINE_HINT bool operator<= (const FUInt128 &Other) const
 
UE_FORCEINLINE_HINT bool IsZero () const
 
UE_FORCEINLINE_HINT bool IsGreaterThanZero () const
 
FUInt128operator+= (uint32 Other)
 
FUInt128operator-= (uint32 Other)
 
FUInt128operator*= (uint32 Other)
 
FUInt128operator/= (uint32 Other)
 

Friends

FArchiveoperator<< (FArchive &Ar, FUInt128 &Value)
 

Constructor & Destructor Documentation

◆ FUInt128() [1/6]

UE_FORCEINLINE_HINT FUInt128::FUInt128 ( const FUInt128 )
default

Default constructors.

◆ FUInt128() [2/6]

UE_FORCEINLINE_HINT FUInt128::FUInt128 ( FUInt128 &&  )
default

◆ FUInt128() [3/6]

FUInt128::FUInt128 ( )
inline

Default constructor. Initializes the number to zero.

◆ FUInt128() [4/6]

FUInt128::FUInt128 ( uint64  A)
inline

Constructor. Initializes this uint128 with a uint64 value.

◆ FUInt128() [5/6]

FUInt128::FUInt128 ( uint64  A,
uint64  B 
)
inline

Constructor. Initializes this uint128 with two uint64 values.

◆ FUInt128() [6/6]

FUInt128::FUInt128 ( uint32  A,
uint32  B,
uint32  C,
uint32  D 
)
inline

Constructor. Initializes this uint128 with four uint32 values.

Member Function Documentation

◆ Add()

FUInt128 FUInt128::Add ( uint32  Value)
inline

Add an unsigned 32bit value

◆ Divide()

FUInt128 FUInt128::Divide ( uint32  Divisor,
uint32 Remainder 
)
inline

Divide by an unsigned 32bit value

◆ GetQuadPart()

uint32 FUInt128::GetQuadPart ( uint32  Part) const
inline

Gets internal quad parts.

◆ IsEqual()

UE_FORCEINLINE_HINT bool FUInt128::IsEqual ( const FUInt128 Other) const
inline

this == Other

◆ IsGreater()

bool FUInt128::IsGreater ( const FUInt128 Other) const
inline

this > Other

◆ IsGreaterOrEqual()

bool FUInt128::IsGreaterOrEqual ( const FUInt128 Other) const
inline

this >= Other

◆ IsGreaterThanZero()

UE_FORCEINLINE_HINT bool FUInt128::IsGreaterThanZero ( ) const
inline

◆ IsLess()

bool FUInt128::IsLess ( const FUInt128 Other) const
inline

this < Other

◆ IsLessOrEqual()

bool FUInt128::IsLessOrEqual ( const FUInt128 Other) const
inline

this <= Other

◆ IsZero()

UE_FORCEINLINE_HINT bool FUInt128::IsZero ( ) const
inline

◆ Multiply()

FUInt128 FUInt128::Multiply ( uint32  Multiplier)
inline

Multiply by an unsigned 32bit value

◆ operator*=()

FUInt128 & FUInt128::operator*= ( uint32  Other)
inline

◆ operator+=()

FUInt128 & FUInt128::operator+= ( uint32  Other)
inline

Arithmetic operators

◆ operator-=()

FUInt128 & FUInt128::operator-= ( uint32  Other)
inline

◆ operator/=()

FUInt128 & FUInt128::operator/= ( uint32  Other)
inline

◆ operator<()

UE_FORCEINLINE_HINT bool FUInt128::operator< ( const FUInt128 Other) const
inline

◆ operator<=()

UE_FORCEINLINE_HINT bool FUInt128::operator<= ( const FUInt128 Other) const
inline

◆ operator=() [1/2]

UE_FORCEINLINE_HINT FUInt128 & FUInt128::operator= ( FUInt128 &&  )
default

◆ operator=() [2/2]

UE_FORCEINLINE_HINT FUInt128 & FUInt128::operator= ( FUInt128 const &  )
default

◆ operator==()

UE_FORCEINLINE_HINT bool FUInt128::operator== ( const FUInt128 Other) const
inline

◆ operator>()

UE_FORCEINLINE_HINT bool FUInt128::operator> ( const FUInt128 Other) const
inline

Comparison operators

◆ operator>=()

UE_FORCEINLINE_HINT bool FUInt128::operator>= ( const FUInt128 Other) const
inline

◆ Set()

void FUInt128::Set ( uint64  InHi,
uint64  InLo 
)
inline

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

◆ SetQuadPart()

void FUInt128::SetQuadPart ( uint32  Part,
uint32  Value 
)
inline

Sets internal quad parts.

◆ Sub()

FUInt128 FUInt128::Sub ( uint32  Value)
inline

◆ Zero()

UE_FORCEINLINE_HINT void FUInt128::Zero ( )
inline

Sets this number to 0.

Friends And Related Symbol Documentation

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FUInt128 Value 
)
friend

Serialization


The documentation for this class was generated from the following file: