Duke's Big Numbers 1.0
C++ and Blueprint libraries for performing math, analysis, and formatting with really large numbers (>10e308).
Loading...
Searching...
No Matches
UBigIntegerLibrary Class Reference

#include "BigIntegerLibrary.h"

Static Public Member Functions

static FBigInteger Zero ()
 
static FBigInteger One ()
 
static FBigInteger MinusOne ()
 
static FBigInteger Conv_BoolToBigInteger (bool In)
 
static FBigInteger Conv_ByteToBigInteger (uint8 In)
 
static FBigInteger Conv_IntToBigInteger (int32 In)
 
static FBigInteger Conv_Int64ToBigInteger (int64 In)
 
static FBigInteger Conv_FloatToBigInteger (float In)
 
static FBigInteger Conv_DoubleToBigInteger (double In)
 
static FBigInteger Conv_ByteArrayToBigInteger (const TArray< uint8 > &In)
 
static FBigInteger Make_BigInteger (const TArray< uint8 > &Magnitude, bool IsNegative)
 
static bool Conv_BigIntegerToBool (const FBigInteger &In)
 
static uint8 Conv_BigIntegerToByte (const FBigInteger &In)
 
static int32 Conv_BigIntegerToInt (const FBigInteger &In)
 
static int64 Conv_BigIntegerToInt64 (const FBigInteger &In)
 
static float Conv_BigIntegerToFloat (const FBigInteger &In)
 
static double Conv_BigIntegerToDouble (const FBigInteger &In)
 
static TArray< uint8 > Conv_BigIntegerToByteArray (const FBigInteger &In)
 
static FBigInteger Add_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger Subtract_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger Multiply_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger Divide_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger Remainder_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static void DivRem_BigIntegerBigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B, FBigInteger &Quotient, FBigInteger &Remainder)
 
static FBigInteger And_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger Or_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger Xor_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger Invert_BigInteger (const FBigInteger &In)
 
static bool Not_BigInteger (const FBigInteger &In)
 
static FBigInteger Increment_BigInteger (UPARAM(ref) FBigInteger &In)
 
static FBigInteger Decrement_BigInteger (UPARAM(ref) FBigInteger &In)
 
static FBigInteger ClearBit_BigIntegerInt (const FBigInteger &Value, int32 Bit)
 
static FBigInteger SetBit_BigIntegerInt (const FBigInteger &Value, int32 Bit)
 
static FBigInteger ToggleBit_BigIntegerInt (const FBigInteger &Value, int32 Bit)
 
static FBigInteger Neg_BigInteger (const FBigInteger &In)
 
static FBigInteger ShiftLeft_BigIntegerInt (const FBigInteger &In, int32 Shift)
 
static FBigInteger ShiftRight_BigIntegerInt (const FBigInteger &In, int32 Shift)
 
static FBigInteger SetSign_BigIntegerBool (const FBigInteger &In, bool IsNegative)
 
static FBigInteger Abs_BigInteger (const FBigInteger &In)
 
static FBigInteger Nabs_BigInteger (const FBigInteger &In)
 
static FBigInteger CopySign_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger Max_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger Min_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger MaxMag_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger MinMag_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger Select_BigInteger (const FBigInteger &WhenTrue, const FBigInteger &WhenFalse, bool Condition)
 
static FBigInteger Clamp_BigInteger (const FBigInteger &Value, const FBigInteger &Min, const FBigInteger &Max)
 
static int32 CountPrecisionBits_BigInteger (const FBigInteger &Value)
 
static int32 CountLeadingZeros_BigInteger (const FBigInteger &Value)
 
static int32 CountTrailingZeros_BigInteger (const FBigInteger &Value)
 
static int32 CountBits_BigInteger (const FBigInteger &Value)
 
static int32 GetWordLength_BigInteger (const FBigInteger &Value)
 
static int32 GetSignedBitLength_BigInteger (const FBigInteger &Value)
 
static int32 GetSignedByteLength_BigInteger (const FBigInteger &Value)
 
static int32 GetSignedWordLength_BigInteger (const FBigInteger &Value)
 
static int32 GetSign_BigInteger (const FBigInteger &Value)
 
static int32 GetBit_BigInteger (const FBigInteger &Value, int32 Position)
 
static int32 Compare_IntBigInteger (int32 A, const FBigInteger &B)
 
static int32 Compare_Int64BigInteger (int64 A, const FBigInteger &B)
 
static int32 Compare_BigIntegerInt (const FBigInteger &A, int32 B)
 
static int32 Compare_BigIntegerInt64 (const FBigInteger &A, int64 B)
 
static int32 Compare_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static int32 CompareMagnitude_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static ECompareResult CompareExec_IntegerBigInteger (int32 A, const FBigInteger &B)
 
static ECompareResult CompareExec_Integer64BigInteger (int64 A, const FBigInteger &B)
 
static ECompareResult CompareExec_BigIntegerInteger (const FBigInteger &A, int32 B)
 
static ECompareResult CompareExec_BigIntegerInteger64 (const FBigInteger &A, int64 B)
 
static ECompareResult CompareExec_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static ECompareResult CompareExecMagnitude_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger Pow_IntInt (int32 Base, int32 Exponent)
 
static FBigInteger Pow_BigIntegerInt (const FBigInteger &Base, int32 Exponent)
 
static FBigInteger Pow_BigIntegerFloat (const FBigInteger &Base, float Exponent)
 
static bool EqualEqual_IntegerBigInteger (int32 A, const FBigInteger &B)
 
static bool EqualEqual_Integer64BigInteger (int64 A, const FBigInteger &B)
 
static bool EqualEqual_BigIntegerInteger (const FBigInteger &A, int32 B)
 
static bool EqualEqual_BigIntegerInteger64 (const FBigInteger &A, int64 B)
 
static bool EqualEqual_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static bool NotEqual_IntegerBigInteger (int32 A, const FBigInteger &B)
 
static bool NotEqual_Integer64BigInteger (int64 A, const FBigInteger &B)
 
static bool NotEqual_BigIntegerInteger (const FBigInteger &A, int32 B)
 
static bool NotEqual_BigIntegerInteger64 (const FBigInteger &A, int64 B)
 
static bool NotEqual_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static bool Less_IntegerBigInteger (int32 B, const FBigInteger &A)
 
static bool Less_Integer64BigInteger (int64 B, const FBigInteger &A)
 
static bool Less_BigIntegerInteger (const FBigInteger &A, int32 B)
 
static bool Less_BigIntegerInteger64 (const FBigInteger &A, int64 B)
 
static bool Less_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static bool Greater_IntegerBigInteger (int32 A, const FBigInteger &B)
 
static bool Greater_Integer64BigInteger (int64 A, const FBigInteger &B)
 
static bool Greater_BigIntegerInteger (const FBigInteger &A, int32 B)
 
static bool Greater_BigIntegerInteger64 (const FBigInteger &A, int64 B)
 
static bool Greater_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static bool LessEqual_IntegerBigInteger (int32 A, const FBigInteger &B)
 
static bool LessEqual_Integer64BigInteger (int64 A, const FBigInteger &B)
 
static bool LessEqual_BigIntegerInteger (const FBigInteger &A, int32 B)
 
static bool LessEqual_BigIntegerInteger64 (const FBigInteger &A, int64 B)
 
static bool LessEqual_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static bool GreaterEqual_IntegerBigInteger (int32 A, const FBigInteger &B)
 
static bool GreaterEqual_Integer64BigInteger (int64 A, const FBigInteger &B)
 
static bool GreaterEqual_BigIntegerInteger (const FBigInteger &A, int32 B)
 
static bool GreaterEqual_BigIntegerInteger64 (const FBigInteger &A, int64 B)
 
static bool GreaterEqual_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static FBigInteger Sqrt_BigInteger (const FBigInteger &In)
 
static int32 FloorLog2_BigInteger (const FBigInteger &In)
 
static int32 FloorLog10_BigInteger (const FBigInteger &In)
 
static float Log2_BigInteger (const FBigInteger &In)
 
static float Log10_BigInteger (const FBigInteger &In)
 
static float Loge_BigInteger (const FBigInteger &In)
 
static float Log_BigIntegerFloat (const FBigInteger &In, float Base)
 
static double Log2D_BigInteger (const FBigInteger &In)
 
static double Log10D_BigInteger (const FBigInteger &In)
 
static double LogeD_BigInteger (const FBigInteger &In)
 
static double Log_BigIntegerDouble (const FBigInteger &In, double Base)
 
static FBigInteger Gcd_BigIntegerBigInteger (const FBigInteger &A, const FBigInteger &B)
 
static bool CanFitIntoInteger_BigInteger (const FBigInteger &In)
 
static bool CanFitIntoInteger64_BigInteger (const FBigInteger &In)
 
static bool CanFitIntoFloat_BigInteger (const FBigInteger &In)
 
static bool CanFitIntoDouble_BigInteger (const FBigInteger &In)
 
static bool CanFitIntoFloatLossy_BigInteger (const FBigInteger &In)
 
static bool CanFitIntoDoubleLossy_BigInteger (const FBigInteger &In)
 
static bool IsMinusOne_BigInteger (const FBigInteger &In)
 
static bool IsZero_BigInteger (const FBigInteger &In)
 
static bool IsOne_BigInteger (const FBigInteger &In)
 
static bool IsPositive_BigInteger (const FBigInteger &In)
 
static bool IsNegative_BigInteger (const FBigInteger &In)
 
static bool IsEven_BigInteger (const FBigInteger &In)
 
static bool IsOdd_BigInteger (const FBigInteger &In)
 
static bool IsPowerOfTwo_BigInteger (const FBigInteger &In)
 

Detailed Description

Provides Blueprint-capable API methods over top of BigInteger for BigInteger's core math functionality.

Member Function Documentation

◆ Abs_BigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Abs_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns the absolute (positive) value of In

Parameters
InThe input value
Returns
The absolute (positive) value of In
Implements Opcode:
Flavor:Blueprint BI ← abs BI

◆ Add_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Add_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Adds two BigInteger values

Parameters
AAddend
BAddend
Returns
The sum of the Addends
Implements Opcode:
Flavor:Blueprint BI ← add BI BI

◆ And_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::And_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Bitwise ANDs two BigInteger values

Parameters
ALogicand
BLogicand
Returns
The result of the bitwise operation
Implements Opcode:
Flavor:Blueprint BI ← and BI BI

◆ CanFitIntoDouble_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::CanFitIntoDouble_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Gets whether the number can be cast to a Double without loss of information

Parameters
InThe number for which to determine if it can fit in the specified type
Returns
True if the value can fit into the specified type, otherwise false
Implements Opcode:
Flavor:Blueprint B ← fitf8 BI

◆ CanFitIntoDoubleLossy_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::CanFitIntoDoubleLossy_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Gets whether the number can be cast to a Double without overflow, but while possibly losing precision

Parameters
InThe number for which to determine if it can fit in the specified type
Returns
True if the value can fit into the specified type, otherwise false
Implements Opcode:
Flavor:Blueprint B ← fitlf8 BI

◆ CanFitIntoFloat_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::CanFitIntoFloat_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Gets whether the number can be cast to a Float without loss of information

Parameters
InThe number for which to determine if it can fit in the specified type
Returns
True if the value can fit into the specified type, otherwise false
Implements Opcode:
Flavor:Blueprint B ← fitf4 BI

◆ CanFitIntoFloatLossy_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::CanFitIntoFloatLossy_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Gets whether the number can be cast to a Float without overflow, but while possibly losing precision

Parameters
InThe number for which to determine if it can fit in the specified type
Returns
True if the value can fit into the specified type, otherwise false
Implements Opcode:
Flavor:Blueprint B ← fitlf4 BI

◆ CanFitIntoInteger64_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::CanFitIntoInteger64_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Gets whether the number can be cast to an Integer64 without loss of information

Parameters
InThe number for which to determine if it can fit in the specified type
Returns
True if the value can fit into the specified type, otherwise false
Implements Opcode:
Flavor:Blueprint B ← fiti8 BI

◆ CanFitIntoInteger_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::CanFitIntoInteger_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Gets whether the number can be cast to an Integer without loss of information

Parameters
InThe number for which to determine if it can fit in the specified type
Returns
True if the value can fit into the specified type, otherwise false
Implements Opcode:
Flavor:Blueprint B ← fiti4 BI

◆ Clamp_BigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Clamp_BigInteger ( const FBigInteger Value,
const FBigInteger Min,
const FBigInteger Max 
)
staticFlavor:Blueprint

Constrains Value to be within Min and Max

Parameters
ValueThe value to check and constrain
MinThe minimum desired value
MaxThe maximum desired value
Returns
If Value is less than Min, Min is returned. If Value is greater than Max, Max is returned. Otherwise, Value is returned.
Implements Opcode:
Flavor:Blueprint BI ← clamp BI BI BI

◆ ClearBit_BigIntegerInt()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::ClearBit_BigIntegerInt ( const FBigInteger Value,
int32  Bit 
)
staticFlavor:Blueprint

Clears the given Bit on Value

Parameters
ValueThe value to operate on
BitThe index of the bit to modify
Returns
A new number with the specified bit cleard
Implements Opcode:
Flavor:Blueprint BI ← clrbit BI I4

◆ Compare_BigIntegerBigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::Compare_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Compares two numbers and provides the result as a standard three-way comparison value

Parameters
AThe number for the left side of the comparison
BThe number for the right side of the comparison
Returns
The result of the comparison; positive if A is greater, negative if B is greater, or zero if the values are equal.
Implements Opcode:
Flavor:Blueprint I4 ← cmp BP BI

◆ Compare_BigIntegerInt()

DBN_FORCEINLINE int32 UBigIntegerLibrary::Compare_BigIntegerInt ( const FBigInteger A,
int32  B 
)
staticFlavor:Blueprint

Compares two numbers and provides the result as a standard three-way comparison value

Parameters
AThe number for the left side of the comparison
BThe number for the right side of the comparison
Returns
The result of the comparison; positive if A is greater, negative if B is greater, or zero if the values are equal.
Implements Opcode:
Flavor:Blueprint I4 ← cmp BI I4

◆ Compare_BigIntegerInt64()

DBN_FORCEINLINE int32 UBigIntegerLibrary::Compare_BigIntegerInt64 ( const FBigInteger A,
int64  B 
)
staticFlavor:Blueprint

Compares two numbers and provides the result as a standard three-way comparison value

Parameters
AThe number for the left side of the comparison
BThe number for the right side of the comparison
Returns
The result of the comparison; positive if A is greater, negative if B is greater, or zero if the values are equal.
Implements Opcode:
Flavor:Blueprint I4 ← cmp BI I8

◆ Compare_Int64BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::Compare_Int64BigInteger ( int64  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Compares two numbers and provides the result as a standard three-way comparison value

Parameters
AThe number for the left side of the comparison
BThe number for the right side of the comparison
Returns
The result of the comparison; positive if A is greater, negative if B is greater, or zero if the values are equal.
Implements Opcode:
Flavor:Blueprint I4 ← cmp I8 BI

◆ Compare_IntBigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::Compare_IntBigInteger ( int32  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Compares two numbers and provides the result as a standard three-way comparison value

Parameters
AThe number for the left side of the comparison
BThe number for the right side of the comparison
Returns
The result of the comparison; positive if A is greater, negative if B is greater, or zero if the values are equal.
Implements Opcode:
Flavor:Blueprint I4 ← cmp I4 BI

◆ CompareExec_BigIntegerBigInteger()

DBN_FORCEINLINE ECompareResult UBigIntegerLibrary::CompareExec_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Compares two numbers and branches based on the result

Parameters
AThe number for the left side of the comparison
BThe number for the right side of the comparison
Returns
The result of the comparison (Greater, Equal, or Less)
Implements Opcode:
Flavor:Blueprint U1 ← cex BI BI

◆ CompareExec_BigIntegerInteger()

DBN_FORCEINLINE ECompareResult UBigIntegerLibrary::CompareExec_BigIntegerInteger ( const FBigInteger A,
int32  B 
)
staticFlavor:Blueprint

Compares two numbers and branches based on the result

Parameters
AThe number for the left side of the comparison
BThe number for the right side of the comparison
Returns
The result of the comparison (Greater, Equal, or Less)
Implements Opcode:
Flavor:Blueprint U1 ← cex BI I4

◆ CompareExec_BigIntegerInteger64()

DBN_FORCEINLINE ECompareResult UBigIntegerLibrary::CompareExec_BigIntegerInteger64 ( const FBigInteger A,
int64  B 
)
staticFlavor:Blueprint

Compares two numbers and branches based on the result

Parameters
AThe number for the left side of the comparison
BThe number for the right side of the comparison
Returns
The result of the comparison (Greater, Equal, or Less)
Implements Opcode:
Flavor:Blueprint U1 ← cex BI I8

◆ CompareExec_Integer64BigInteger()

DBN_FORCEINLINE ECompareResult UBigIntegerLibrary::CompareExec_Integer64BigInteger ( int64  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Compares two numbers and branches based on the result

Parameters
AThe number for the left side of the comparison
BThe number for the right side of the comparison
Returns
The result of the comparison (Greater, Equal, or Less)
Implements Opcode:
Flavor:Blueprint U1 ← cex I8 BI

◆ CompareExec_IntegerBigInteger()

DBN_FORCEINLINE ECompareResult UBigIntegerLibrary::CompareExec_IntegerBigInteger ( int32  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Compares two numbers and branches based on the result

Parameters
AThe number for the left side of the comparison
BThe number for the right side of the comparison
Returns
The result of the comparison (Greater, Equal, or Less)
Implements Opcode:
Flavor:Blueprint U1 ← cex I4 BI

◆ CompareExecMagnitude_BigIntegerBigInteger()

DBN_FORCEINLINE ECompareResult UBigIntegerLibrary::CompareExecMagnitude_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Compares the magnitude of two numbers and branches based on the result

Parameters
AThe number for the left side of the comparison
BThe number for the right side of the comparison
Returns
The result of the comparison (Greater, Equal, or Less)
Implements Opcode:
Flavor:Blueprint U1 ← cexmag BI BI

◆ CompareMagnitude_BigIntegerBigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::CompareMagnitude_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Compares the magnitude of two numbers disregarding sign, and provides the result as a standard three-way comparison value

Parameters
AThe number for the left side of the comparison
BThe number for the right side of the comparison
Returns
The result of the comparison; positive if A's magnitude is greater, negative if B's magnitude is greater, or zero if the values' magnitudes are equal.
Implements Opcode:
Flavor:Blueprint I4 ← cmpmag BP BI

◆ Conv_BigIntegerToBool()

DBN_FORCEINLINE bool UBigIntegerLibrary::Conv_BigIntegerToBool ( const FBigInteger In)
staticFlavor:Blueprint

Converts a BigInteger to a Boolean

Parameters
InThe value to be converted
Returns
A Boolean representing the value
Note
On overflow, the value will be saturated to minimum/maximum
Implements Opcode:
Flavor:Blueprint B ← b BI

◆ Conv_BigIntegerToByte()

DBN_FORCEINLINE uint8 UBigIntegerLibrary::Conv_BigIntegerToByte ( const FBigInteger In)
staticFlavor:Blueprint

Converts a BigInteger to a Byte

Parameters
InThe value to be converted
Returns
A Byte representing the value
Implements Opcode:
Flavor:Blueprint U1 ← u1 BI

◆ Conv_BigIntegerToByteArray()

DBN_FORCEINLINE TArray< uint8 > UBigIntegerLibrary::Conv_BigIntegerToByteArray ( const FBigInteger In)
staticFlavor:Blueprint

Converts a BigInteger to an Array of Byte

Parameters
InThe value to be converted
Returns
A Byte representing the value
Implements Opcode:
Flavor:Blueprint U1[] ← u1arr BI

◆ Conv_BigIntegerToDouble()

DBN_FORCEINLINE double UBigIntegerLibrary::Conv_BigIntegerToDouble ( const FBigInteger In)
staticFlavor:Blueprint

Converts a BigInteger to a Double

Parameters
InThe value to be converted
Returns
A Double representing the value
Implements Opcode:
Flavor:Blueprint F8 ← f8 BI

◆ Conv_BigIntegerToFloat()

DBN_FORCEINLINE float UBigIntegerLibrary::Conv_BigIntegerToFloat ( const FBigInteger In)
staticFlavor:Blueprint

Converts a BigInteger to a Float

Parameters
InThe value to be converted
Returns
A Flaot representing the value
Implements Opcode:
Flavor:Blueprint F4 ← f4 BI

◆ Conv_BigIntegerToInt()

DBN_FORCEINLINE int32 UBigIntegerLibrary::Conv_BigIntegerToInt ( const FBigInteger In)
staticFlavor:Blueprint

Converts a BigInteger to an Integer

Parameters
InThe value to be converted
Returns
An Integer representing the value
Implements Opcode:
Flavor:Blueprint I4 ← i4 BI

◆ Conv_BigIntegerToInt64()

DBN_FORCEINLINE int64 UBigIntegerLibrary::Conv_BigIntegerToInt64 ( const FBigInteger In)
staticFlavor:Blueprint

Converts a BigInteger to an Integer64

Parameters
InThe value to be converted
Returns
An Integer64 representing the value
Implements Opcode:
Flavor:Blueprint I8 ← i8 BI

◆ Conv_BoolToBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Conv_BoolToBigInteger ( bool  In)
staticFlavor:Blueprint

Converts a Boolean to a BigInteger

Parameters
InThe value to be converted
Returns
A BigInteger representing the value
Implements Opcode:
Flavor:Blueprint BI ← bi B

◆ Conv_ByteArrayToBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Conv_ByteArrayToBigInteger ( const TArray< uint8 > &  In)
staticFlavor:Blueprint

Converts an Array of Byte to a BigInteger

Parameters
InThe value to be converted
Returns
A BigInteger representing the value
Note
The value is treated as a twos complement value. If negative, the aboslute value will be stored and the sign set accordingly.
Implements Opcode:
Flavor:Blueprint BI ← bi U1[]

◆ Conv_ByteToBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Conv_ByteToBigInteger ( uint8  In)
staticFlavor:Blueprint

Converts a Byte to a BigInteger

Parameters
InThe value to be converted
Returns
A BigInteger representing the value
Implements Opcode:
Flavor:Blueprint BI ← bi U1

◆ Conv_DoubleToBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Conv_DoubleToBigInteger ( double  In)
staticFlavor:Blueprint

Converts a Double to a BigInteger

Parameters
InThe value to be converted
Returns
A BigInteger representing the value
Implements Opcode:
Flavor:Blueprint BI ← bi F8

◆ Conv_FloatToBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Conv_FloatToBigInteger ( float  In)
staticFlavor:Blueprint

Converts a Float to a BigInteger

Parameters
InThe value to be converted
Returns
A BigInteger representing the value
Implements Opcode:
Flavor:Blueprint BI ← bi F4

◆ Conv_Int64ToBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Conv_Int64ToBigInteger ( int64  In)
staticFlavor:Blueprint

Converts an Integer64 to a BigInteger

Parameters
InThe value to be converted
Returns
A BigInteger representing the value
Implements Opcode:
Flavor:Blueprint BI ← bi I8

◆ Conv_IntToBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Conv_IntToBigInteger ( int32  In)
staticFlavor:Blueprint

Converts an Integer to a BigInteger

Parameters
InThe value to be converted
Returns
A BigInteger representing the value
Implements Opcode:
Flavor:Blueprint BI ← bi I4

◆ CopySign_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::CopySign_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Takes the magnitude of A and writes the sign from B to it.

Parameters
AThe number that contributes the magnitude of the result
BThe number that contributes the sign of the result
Returns
The absolute value of A with the sign from B applied to it.
Implements Opcode:
Flavor:Blueprint BI ← cpysgn BI BI

◆ CountBits_BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::CountBits_BigInteger ( const FBigInteger Value)
staticFlavor:Blueprint

Gets the count of set bits on the number

Parameters
ValueThe value to get the count of set from
Returns
The count of set bits on the number
Implements Opcode:
Flavor:Blueprint I4 ← pop BI

◆ CountLeadingZeros_BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::CountLeadingZeros_BigInteger ( const FBigInteger Value)
staticFlavor:Blueprint

Gets the count of leading zero bits on the uppermost 32-bit word of the number

Parameters
ValueThe value to get the count of leading zero bits from
Returns
The count of leading zero bits on the uppermost 32-bit word of the number
Note
This will always be in the range of 0-31, unless the number is zero, for which Nlz() will return 32
Implements Opcode:
Flavor:Blueprint I4 ← nlz BI

◆ CountPrecisionBits_BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::CountPrecisionBits_BigInteger ( const FBigInteger Value)
staticFlavor:Blueprint

Gets the count of precision bits used in the number

Parameters
ValueThe value to get the count of precision bits from
Returns
The count of precision bits on the number
Note
This is defined as GetLength() * 32 - Nlz() - Ntz()
Implements Opcode:
Flavor:Blueprint I4 ← prec BI

◆ CountTrailingZeros_BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::CountTrailingZeros_BigInteger ( const FBigInteger Value)
staticFlavor:Blueprint

Gets the count of trailing zero bits on the number

Parameters
ValueThe value to get the count of trailing zero bits from
Returns
The count of trailing zero bits on the number. Returns zero if the number is zero.
Implements Opcode:
Flavor:Blueprint I4 ← ntz BI

◆ Decrement_BigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Decrement_BigInteger ( UPARAM(ref) FBigInteger In)
staticFlavor:Blueprint

Subtracts 1 to the specified value and then set it

Parameters
InThe value to be decremented
Returns
The decremented value
Implements Opcode:
Flavor:Blueprint BI ← decpre BI

◆ Divide_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Divide_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Divides two BigInteger values and returns the quotient

Parameters
ADividend
BDivisor
Returns
The quotient from dividing the numbers
Implements Opcode:
Flavor:Blueprint BI ← div BI BI

◆ DivRem_BigIntegerBigIntegerBigInteger()

DBN_FORCEINLINE void UBigIntegerLibrary::DivRem_BigIntegerBigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B,
FBigInteger Quotient,
FBigInteger Remainder 
)
staticFlavor:Blueprint

Divides two BigInteger values and outputs the quotient and remainder

Parameters
ADividend
BDivisor
QuotientThe quotient from dividing the numbers
RemainderThe remainder from dividing the numbers
Implements Opcode:
Flavor:Blueprint BI ← divrem BI BI BI&

◆ EqualEqual_BigIntegerBigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::EqualEqual_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is equal to B (A == B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← eq BI BI

◆ EqualEqual_BigIntegerInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::EqualEqual_BigIntegerInteger ( const FBigInteger A,
int32  B 
)
staticFlavor:Blueprint

Returns true if A is equal to B (A == B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← eq BI I4

◆ EqualEqual_BigIntegerInteger64()

DBN_FORCEINLINE bool UBigIntegerLibrary::EqualEqual_BigIntegerInteger64 ( const FBigInteger A,
int64  B 
)
staticFlavor:Blueprint

Returns true if A is equal to B (A == B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← eq BI I8

◆ EqualEqual_Integer64BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::EqualEqual_Integer64BigInteger ( int64  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is equal to B (A == B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← eq I8 BI

◆ EqualEqual_IntegerBigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::EqualEqual_IntegerBigInteger ( int32  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is equal to B (A == B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← eq I4 BI

◆ FloorLog10_BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::FloorLog10_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns the floor of the base 10 logarithm of In

Parameters
InThe input value
Returns
The floor of the base 10 logarithm of In
Note
This calculates the number of digits in the number -1.
Implements Opcode:
Flavor:Blueprint I4 ← flog10 BI

◆ FloorLog2_BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::FloorLog2_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns the floor of the base 2 logarithm of In

Parameters
InThe input value
Returns
The floor of the base 2 logarithm of In
Implements Opcode:
Flavor:Blueprint I4 ← flog2 BI

◆ Gcd_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Gcd_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Gets the greatest common divisor (GCD) between two numbers.

Parameters
AThe number for which to calculate GCD
BThe number for which to calculate GCD
Returns
The greatest common divisor (GCD) between two numbers.
Implements Opcode:
Flavor:Blueprint BI ← gcd BI BI

◆ GetBit_BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::GetBit_BigInteger ( const FBigInteger Value,
int32  Position 
)
staticFlavor:Blueprint

Extracts the bit at the given bit position

Parameters
ValueThe value to get the bit from
PositionThe position of the bit to extract
Returns
The requested bit within the number
Implements Opcode:
Flavor:Blueprint I4 ← bit BI

◆ GetSign_BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::GetSign_BigInteger ( const FBigInteger Value)
staticFlavor:Blueprint

Gets the sign of the number

Parameters
ValueThe value to get the sign from
Returns
The sign of the number. Will return 1 if number is >= 0, and will return -1 if number is < 0.
Implements Opcode:
Flavor:Blueprint I4 ← sgn BI

◆ GetSignedBitLength_BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::GetSignedBitLength_BigInteger ( const FBigInteger Value)
staticFlavor:Blueprint

Gets the bit length needed to hold the number in twos complement format.

Parameters
ValueThe value to get the bit length of the number from
Returns
the bit length needed to hold the number in twos complement format.
Implements Opcode:
Flavor:Blueprint I4 ← sblen BI

◆ GetSignedByteLength_BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::GetSignedByteLength_BigInteger ( const FBigInteger Value)
staticFlavor:Blueprint

Gets the byte length needed to hold the number in twos complement format.

Parameters
ValueThe value to get the byte length of the number from
Returns
the byte length needed to hold the number in twos complement format.
Implements Opcode:
Flavor:Blueprint I4 ← su1len BI

◆ GetSignedWordLength_BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::GetSignedWordLength_BigInteger ( const FBigInteger Value)
staticFlavor:Blueprint

Gets the number of 32 bit words needed to hold the number in twos complement format.

Parameters
ValueThe value to get the length of the number from
Returns
the number of 32 bit words needed to hold the number in twos complement format.
Implements Opcode:
Flavor:Blueprint I4 ← su4len BI

◆ GetWordLength_BigInteger()

DBN_FORCEINLINE int32 UBigIntegerLibrary::GetWordLength_BigInteger ( const FBigInteger Value)
staticFlavor:Blueprint

Gets the length of the number in 32-bit unsigned words, not accounting for sign

Parameters
ValueThe value to get the length of the number from
Returns
The length of the number in 32-bit unsigned words, not accounting for sign
Implements Opcode:
Flavor:Blueprint I4 ← uu4len BI
Note
This is the length of the internal array

◆ Greater_BigIntegerBigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::Greater_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is greater than B (A > B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is greater than B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← gt BI BI

◆ Greater_BigIntegerInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::Greater_BigIntegerInteger ( const FBigInteger A,
int32  B 
)
staticFlavor:Blueprint

Returns true if A is greater than B (A > B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is greater than B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← gt BI I4

◆ Greater_BigIntegerInteger64()

DBN_FORCEINLINE bool UBigIntegerLibrary::Greater_BigIntegerInteger64 ( const FBigInteger A,
int64  B 
)
staticFlavor:Blueprint

Returns true if A is greater than B (A > B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is greater than B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← gt BI I8

◆ Greater_Integer64BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::Greater_Integer64BigInteger ( int64  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is greater than B (A > B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is greater than B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← gt I8 BI

◆ Greater_IntegerBigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::Greater_IntegerBigInteger ( int32  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is greater than B (A > B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is greater than B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← gt I4 BI

◆ GreaterEqual_BigIntegerBigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::GreaterEqual_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is greater than or equal to B (A >= B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is greater than or equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← gteq BI BI

◆ GreaterEqual_BigIntegerInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::GreaterEqual_BigIntegerInteger ( const FBigInteger A,
int32  B 
)
staticFlavor:Blueprint

Returns true if A is greater than or equal to B (A >= B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is greater than or equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← gteq BI I4

◆ GreaterEqual_BigIntegerInteger64()

DBN_FORCEINLINE bool UBigIntegerLibrary::GreaterEqual_BigIntegerInteger64 ( const FBigInteger A,
int64  B 
)
staticFlavor:Blueprint

Returns true if A is greater than or equal to B (A >= B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is greater than or equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← gteq BI I8

◆ GreaterEqual_Integer64BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::GreaterEqual_Integer64BigInteger ( int64  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is greater than or equal to B (A >= B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is greater than or equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← gteq I8 BI

◆ GreaterEqual_IntegerBigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::GreaterEqual_IntegerBigInteger ( int32  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is greater than or equal to B (A >= B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is greater than or equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← gteq I4 BI

◆ Increment_BigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Increment_BigInteger ( UPARAM(ref) FBigInteger In)
staticFlavor:Blueprint

Add 1 to the specified value and then set it

Parameters
InThe value to be incremented
Returns
The incremented value
Implements Opcode:
Flavor:Blueprint BI ← incpre BI

◆ Invert_BigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Invert_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Bitwise inverts the value

Parameters
InThe value to be inverted
Returns
The result of the bitwise operation
Implements Opcode:
Flavor:Blueprint BI ← inv BI

◆ IsEven_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::IsEven_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns true if the value is even, otherwise returns false

Parameters
InThe value to be checked
Returns
True if the value is even, otherwise returns false
Implements Opcode:
Flavor:Blueprint B ← iseven BI

◆ IsMinusOne_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::IsMinusOne_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns true if the value is negative one, otherwise returns false

Parameters
InThe value to be checked
Returns
True if the value is negative one, otherwise returns false
Implements Opcode:
Flavor:Blueprint B ← isneg1 BI

◆ IsNegative_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::IsNegative_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns true if the value is less than zero, otherwise returns false

Parameters
InThe value to be checked
Returns
True if the value is less than zero, otherwise returns false
Implements Opcode:
Flavor:Blueprint B ← isneg BI

◆ IsOdd_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::IsOdd_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns true if the value is odd, otherwise returns false

Parameters
InThe value to be checked
Returns
True if the value is odd, otherwise returns false
Implements Opcode:
Flavor:Blueprint B ← isodd BI

◆ IsOne_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::IsOne_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns true if the value is one, otherwise returns false

Parameters
InThe value to be checked
Returns
True if the value is one, otherwise returns false
Implements Opcode:
Flavor:Blueprint B ← isone BI

◆ IsPositive_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::IsPositive_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns true if the value is greater than zero, otherwise returns false

Parameters
InThe value to be checked
Returns
True if the value is greater than zero, otherwise returns false
Implements Opcode:
Flavor:Blueprint B ← ispos BI

◆ IsPowerOfTwo_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::IsPowerOfTwo_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns true if the value is a power of two, otherwise returns false

Parameters
InThe value to be checked
Returns
True if the value is a power of two, otherwise returns false
Implements Opcode:
Flavor:Blueprint B ← ispot BI

◆ IsZero_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::IsZero_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns true if the value is zero, otherwise returns false

Parameters
InThe value to be checked
Returns
True if the value is zero, otherwise returns false
Implements Opcode:
Flavor:Blueprint B ← iszero BI

◆ Less_BigIntegerBigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::Less_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is less than B (A < B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is less than B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← lt BI BI

◆ Less_BigIntegerInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::Less_BigIntegerInteger ( const FBigInteger A,
int32  B 
)
staticFlavor:Blueprint

Returns true if A is less than B (A < B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is less than B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← lt BI I4

◆ Less_BigIntegerInteger64()

DBN_FORCEINLINE bool UBigIntegerLibrary::Less_BigIntegerInteger64 ( const FBigInteger A,
int64  B 
)
staticFlavor:Blueprint

Returns true if A is less than B (A < B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is less than B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← lt BI I8

◆ Less_Integer64BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::Less_Integer64BigInteger ( int64  B,
const FBigInteger A 
)
staticFlavor:Blueprint

Returns true if A is less than B (A < B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is less than B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← lt I8 BI

◆ Less_IntegerBigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::Less_IntegerBigInteger ( int32  B,
const FBigInteger A 
)
staticFlavor:Blueprint

Returns true if A is less than B (A < B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is less than B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← lt I4 BI

◆ LessEqual_BigIntegerBigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::LessEqual_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is less than or equal to B (A <= B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is less than or equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← lteq BI BI

◆ LessEqual_BigIntegerInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::LessEqual_BigIntegerInteger ( const FBigInteger A,
int32  B 
)
staticFlavor:Blueprint

Returns true if A is less than or equal to B (A <= B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is less than or equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← lteq BI I4

◆ LessEqual_BigIntegerInteger64()

DBN_FORCEINLINE bool UBigIntegerLibrary::LessEqual_BigIntegerInteger64 ( const FBigInteger A,
int64  B 
)
staticFlavor:Blueprint

Returns true if A is less than or equal to B (A <= B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is less than or equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← lteq BI I8

◆ LessEqual_Integer64BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::LessEqual_Integer64BigInteger ( int64  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is less than or equal to B (A <= B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is less than or equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← lteq I8 BI

◆ LessEqual_IntegerBigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::LessEqual_IntegerBigInteger ( int32  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is less than or equal to B (A <= B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is less than or equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← lteq I4 BI

◆ Log10_BigInteger()

DBN_FORCEINLINE float UBigIntegerLibrary::Log10_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns the base 10 logarithm of In as a Float

Parameters
InThe input value
Returns
The base 10 logarithm of In as a Float
Implements Opcode:
Flavor:Blueprint F4 ← log10 BI

◆ Log10D_BigInteger()

DBN_FORCEINLINE double UBigIntegerLibrary::Log10D_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns the base 10 logarithm of In as a Double

Parameters
InThe input value
Returns
The base 10 logarithm of In as a Double
Implements Opcode:
Flavor:Blueprint F8 ← log10d BI

◆ Log2_BigInteger()

DBN_FORCEINLINE float UBigIntegerLibrary::Log2_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns the base 2 logarithm of In as a Float

Parameters
InThe input value
Returns
The base 2 logarithm of In as a Float
Implements Opcode:
Flavor:Blueprint F4 ← log2 BI

◆ Log2D_BigInteger()

DBN_FORCEINLINE double UBigIntegerLibrary::Log2D_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns the base 2 logarithm of In as a Double

Parameters
InThe input value
Returns
The base 2 logarithm of In as a Double
Implements Opcode:
Flavor:Blueprint F8 ← log2d BI

◆ Log_BigIntegerDouble()

DBN_FORCEINLINE double UBigIntegerLibrary::Log_BigIntegerDouble ( const FBigInteger In,
double  Base 
)
staticFlavor:Blueprint

Returns the base Base logarithm of In as a Double

Parameters
InThe input value
BaseThe base of the logarithm to compute
Returns
The base Base logarithm of In as a Double
Implements Opcode:
Flavor:Blueprint F8 ← log BI F8

◆ Log_BigIntegerFloat()

DBN_FORCEINLINE float UBigIntegerLibrary::Log_BigIntegerFloat ( const FBigInteger In,
float  Base 
)
staticFlavor:Blueprint

Returns the base Base logarithm of In as a Float

Parameters
InThe input value
BaseThe base of the logarithm to compute
Returns
The base Base logarithm of In as a Float
Implements Opcode:
Flavor:Blueprint F4 ← log BI F4

◆ Loge_BigInteger()

DBN_FORCEINLINE float UBigIntegerLibrary::Loge_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns the base e logarithm of In as a Float

Parameters
InThe input value
Returns
The base e logarithm of In as a Float
Implements Opcode:
Flavor:Blueprint F4 ← loge BI

◆ LogeD_BigInteger()

DBN_FORCEINLINE double UBigIntegerLibrary::LogeD_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns the base e logarithm of In as a Double

Parameters
InThe input value
Returns
The base e logarithm of In as a Double
Implements Opcode:
Flavor:Blueprint F8 ← loged BI

◆ Make_BigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Make_BigInteger ( const TArray< uint8 > &  Magnitude,
bool  IsNegative 
)
staticFlavor:Blueprint

Sets the value of this number from the given magnitude and sign

Parameters
MagnitudeThe magnitude to which to set the number
IsNegativeIf true, the resulting value will be negative. Otherwise the value will be positive.
Returns
The built number
Implements Opcode:
Flavor:Blueprint BI ← bi U1[] B

◆ Max_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Max_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns the greater of two values

Parameters
AValue to compare
BValue to compare
Returns
The greater of the two values
Implements Opcode:
Flavor:Blueprint BI ← max BI BI

◆ MaxMag_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::MaxMag_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns the value with the greater absolute magnitude

Parameters
AValue to compare
BValue to compare
Returns
The value with the greater absolute magnitude
Implements Opcode:
Flavor:Blueprint BI ← maxmag BI BI

◆ Min_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Min_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns the lesser of two values

Parameters
AValue to compare
BValue to compare
Returns
The lesser of the two values
Implements Opcode:
Flavor:Blueprint BI ← min BI BI

◆ MinMag_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::MinMag_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns the value with the lesser absolute magnitude

Parameters
AValue to compare
BValue to compare
Returns
The value with the lesser absolute magnitude
Implements Opcode:
Flavor:Blueprint BI ← minmag BI BI

◆ MinusOne()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::MinusOne ( )
staticFlavor:Blueprint

Represents negative one as a BigInteger

Returns
BigInteger representation of negative one
Implements Opcode:
Flavor:Blueprint BI ← neg1 0

◆ Multiply_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Multiply_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Multiplies two BigInteger values

Parameters
AMultiplicand
BMultiplicand
Returns
The product of the numbers
Implements Opcode:
Flavor:Blueprint BI ← mul BI BI

◆ Nabs_BigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Nabs_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns the negative absolute value of In

Parameters
InThe input value
Returns
The negative absolute value of In
Implements Opcode:
Flavor:Blueprint BI ← nabs BI

◆ Neg_BigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Neg_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns the negative value of In

Parameters
InThe input value
Returns
The negative value of In
Implements Opcode:
Flavor:Blueprint BI ← neg BI

◆ Not_BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::Not_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Logically inverts the value

Parameters
InThe value to be inverted
Returns
The result of the logical operation
Note
Returns true if the value is zero, otherwise returns false.
Implements Opcode:
Flavor:Blueprint B ← not BI

◆ NotEqual_BigIntegerBigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::NotEqual_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is not equal to B (A != B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is not equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← neq BI BI

◆ NotEqual_BigIntegerInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::NotEqual_BigIntegerInteger ( const FBigInteger A,
int32  B 
)
staticFlavor:Blueprint

Returns true if A is not equal to B (A != B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is not equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← neq BI I4

◆ NotEqual_BigIntegerInteger64()

DBN_FORCEINLINE bool UBigIntegerLibrary::NotEqual_BigIntegerInteger64 ( const FBigInteger A,
int64  B 
)
staticFlavor:Blueprint

Returns true if A is not equal to B (A != B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is not equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← neq BI I8

◆ NotEqual_Integer64BigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::NotEqual_Integer64BigInteger ( int64  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is not equal to B (A != B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is not equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← neq I8 BI

◆ NotEqual_IntegerBigInteger()

DBN_FORCEINLINE bool UBigIntegerLibrary::NotEqual_IntegerBigInteger ( int32  A,
const FBigInteger B 
)
staticFlavor:Blueprint

Returns true if A is not equal to B (A != B)

Parameters
AValue to compare
BValue to compare
Returns
True if A is not equal to B, otherwise false.
Implements Opcode:
Flavor:Blueprint B ← neq I4 BI

◆ One()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::One ( )
staticFlavor:Blueprint

Represents One as a BigInteger

Returns
BigInteger representation of One
Implements Opcode:
Flavor:Blueprint BI ← one 0

◆ Or_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Or_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Bitwise ORs two BigInteger values

Parameters
ALogicand
BLogicand
Returns
The result of the bitwise operation
Implements Opcode:
Flavor:Blueprint BI ← or BI BI

◆ Pow_BigIntegerFloat()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Pow_BigIntegerFloat ( const FBigInteger Base,
float  Exponent 
)
staticFlavor:Blueprint

Raises a BigInteger to a power

Parameters
BaseThe number to be raised to a power
ExponentThe exponent to raise the number to
Returns
The result of the exponentiation
Implements Opcode:
Flavor:Blueprint BI ← pow BI F4

◆ Pow_BigIntegerInt()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Pow_BigIntegerInt ( const FBigInteger Base,
int32  Exponent 
)
staticFlavor:Blueprint

Raises a BigInteger to a power

Parameters
BaseThe number to be raised to a power
ExponentThe exponent to raise the number to
Returns
The result of the exponentiation
Implements Opcode:
Flavor:Blueprint BI ← pow BI I4

◆ Pow_IntInt()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Pow_IntInt ( int32  Base,
int32  Exponent 
)
staticFlavor:Blueprint

Raises a BigInteger to a float power

Parameters
BaseThe number to be raised to a power
ExponentThe exponent to raise the number to
Returns
The result of the exponentiation
Implements Opcode:
Flavor:Blueprint BI ← pow I4 I4

◆ Remainder_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Remainder_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Divides two BigInteger values and returns the remainder

Parameters
ADividend
BDivisor
Returns
The remainder from dividing the numbers
Implements Opcode:
Flavor:Blueprint BI ← rem BI BI

◆ Select_BigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Select_BigInteger ( const FBigInteger WhenTrue,
const FBigInteger WhenFalse,
bool  Condition 
)
staticFlavor:Blueprint

Returns WhenTrue when Condition is true. Otherwise returns WhenFalse.

Parameters
WhenTrueThe value to return when condition is true
WhenFalseThe value to return when condition is false
ConditionThe condition that determines which value is returned.
Returns
Returns the whenTrue parameter when condition is true. Otherwise returns whenFalse.
Implements Opcode:
Flavor:Blueprint BI ← sel BI BI B

◆ SetBit_BigIntegerInt()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::SetBit_BigIntegerInt ( const FBigInteger Value,
int32  Bit 
)
staticFlavor:Blueprint

Sets the given Bit on Value

Parameters
ValueThe value to operate on
BitThe index of the bit to modify
Returns
The new number with the specified bit set
Implements Opcode:
Flavor:Blueprint BI ← setbit BI I4

◆ SetSign_BigIntegerBool()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::SetSign_BigIntegerBool ( const FBigInteger In,
bool  IsNegative 
)
staticFlavor:Blueprint

Returns In with the sign set per IsNegative

Parameters
InThe input value
IsNegativeWhether the new value should be negative
Returns
In with the sign set per IsNegative
Implements Opcode:
Flavor:Blueprint BI ← setsgn BI B

◆ ShiftLeft_BigIntegerInt()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::ShiftLeft_BigIntegerInt ( const FBigInteger In,
int32  Shift 
)
staticFlavor:Blueprint

Shifts the value left by the specified number of bits

Parameters
InThe value to be shifted
ShiftThe number of bits by which to shift the value
Returns
The result of the shift operation
Note
If the Shift parameter is negative, the value will be shifted right instead
Implements Opcode:
Flavor:Blueprint BI ← shl BI I4

◆ ShiftRight_BigIntegerInt()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::ShiftRight_BigIntegerInt ( const FBigInteger In,
int32  Shift 
)
staticFlavor:Blueprint

Shifts the value left by the specified number of bits

Parameters
InThe value to be shifted
ShiftThe number of bits by which to shift the value
Returns
The result of the shift operation
Note
If the Shift parameter is negative, the value will be shifted left instead
Implements Opcode:
Flavor:Blueprint BI ← shr BI I4

◆ Sqrt_BigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Sqrt_BigInteger ( const FBigInteger In)
staticFlavor:Blueprint

Returns the square root of In

Parameters
InThe input value
Returns
The square root of In
Implements Opcode:
Flavor:Blueprint BI ← sqrt BI

◆ Subtract_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Subtract_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Subtracts one BigInteger value from another

Parameters
ANumber to be subtracted from
BNumber to be subtracted
Returns
The difference between the numbers
Implements Opcode:
Flavor:Blueprint BI ← sub BI BI

◆ ToggleBit_BigIntegerInt()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::ToggleBit_BigIntegerInt ( const FBigInteger Value,
int32  Bit 
)
staticFlavor:Blueprint

Toggles the given Bit on Value

Parameters
ValueThe value to operate on
BitThe index of the bit to modify
Returns
The new number with the specified bit toggled
Implements Opcode:
Flavor:Blueprint BI ← togbit BI I4

◆ Xor_BigIntegerBigInteger()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Xor_BigIntegerBigInteger ( const FBigInteger A,
const FBigInteger B 
)
staticFlavor:Blueprint

Bitwise XORs two BigInteger values

Parameters
ALogicand
BLogicand
Returns
The result of the bitwise operation
Implements Opcode:
Flavor:Blueprint BI ← xor BI BI

◆ Zero()

DBN_FORCEINLINE FBigInteger UBigIntegerLibrary::Zero ( )
staticFlavor:Blueprint

Represents Zero as a BigInteger

Returns
BigInteger representation of Zero
Implements Opcode:
Flavor:Blueprint BI ← zero 0

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