Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/BigInt.h |
Include |
#include "Math/BigInt.h" |
N-bit integer.
Name | Description | |
---|---|---|
|
TBigInt() |
Default constructor. Initializes the number to zero. |
|
TBigInt ( |
|
|
TBigInt ( |
|
|
TBigInt ( |
|
|
TBigInt |
|
Name | Description | ||
---|---|---|---|
|
Add ( |
Adds two integers. |
|
|
BitwiseAnd ( |
Bitwise 'and' |
|
|
BitwiseNot() |
Bitwise 'not' |
|
|
BitwiseOr ( |
Bitwise 'or' |
|
|
Divide ( |
Divides two integers. |
|
|
DivideWithRemainder |
Divides two integers with remainder. |
|
|
GetBit ( |
Returns a bit value as an integer value (0 or 1). |
|
|
const uint32... |
GetBits() |
|
|
uint32 * |
GetBits() |
|
|
GetHighestNonZeroBit() |
Returns the index of the highest non-zero bit. -1 if no such bit exists. |
|
|
GetHighestNonZeroWord() |
Returns the index of the highest word that is not zero. -1 if no such word exists. |
|
|
IsEqual ( |
Checks if two integers are equal. |
|
|
IsFirstBitSet() |
||
|
IsGreater ( |
This > Other |
|
|
IsGreaterOrEqual ( |
This >= Other |
|
|
IsGreaterThanZero() |
This > 0 |
|
|
IsLess ( |
This < Other |
|
|
IsLessOrEqual ( |
This <= Other |
|
|
IsLessThanZero() |
This < 0 |
|
|
IsNegative() |
Checks if this integer is negative. |
|
|
IsZero() |
This == 0 |
|
|
Modulo ( |
Performs modulo operation on this integer. |
|
|
Multiply ( |
Multiplies two integers. |
|
|
MultiplyFast ( |
Multiplies two positive integers. |
|
|
Negate() |
Negates this integer. value = -value |
|
|
Parse ( |
Parses a string representing a hex value |
|
|
Set ( |
Initializes this big int with a 64 bit integer value. |
|
|
SetBit |
Sets a bit value. |
|
|
ShiftLeft ( |
Shift left by the specified amount of bits. |
|
|
ShiftLeftByOneInternal() |
Shift left by 1 bit. |
|
|
ShiftLeftInternal ( |
Shift left by the specified amount of bits. Does not check if BitCount is valid. |
|
|
ShiftRight ( |
Shift right by the specified amount of bits. |
|
|
ShiftRightByOneInternal() |
Shift right by 1 bit. |
|
|
ShiftRightInternal ( |
Shift right by the specified amount of bits. Does not check if BitCount is valid. |
|
|
Sign() |
Returns the sign of this integer. |
|
|
Sqrt() |
Calculates square root of this integer. |
|
|
Subtract ( |
Subtracts two integers. |
|
|
ToInt() |
Returns the value of this big int as a 64-bit integer. |
|
|
ToString() |
Returns this big int as a string. |
|
|
Zero() |
Sets this integer to 0. |
Name | Description | ||
---|---|---|---|
|
operator- ( |
||
|
BigInt & |
operator--() |
|
|
operator!= ( |
||
|
operator% ( |
||
|
BigInt & |
operator%= ( |
|
|
operator& ( |
||
|
BigInt & |
operator&= ( |
|
|
operator* ( |
||
|
BigInt & |
operator*= ( |
|
|
operator/ ( |
||
|
BigInt & |
operator/= ( |
|
|
operator[] ( |
Bit indexing operator |
|
|
operator| ( |
||
|
BigInt & |
operator|= ( |
|
|
operator~() |
||
|
operator+ ( |
||
|
BigInt & |
operator++() |
|
|
BigInt & |
operator+= ( |
|
|
operator< ( |
||
|
operator<< ( |
||
|
BigInt & |
operator<<= ( |
|
|
operator<= ( |
||
|
TBigInt & |
operator= ( |
Assignment operator for int64 values. |
|
BigInt & |
operator-= ( |
|
|
operator== ( |
||
|
operator> ( |
||
|
operator>= ( |
||
|
operator>> ( |
Begin operator overloads. |
|
|
BigInt & |
operator>>= ( |
Name |
Description |
---|---|
BigInt |
Name |
Description |
---|---|
BitsPerWord |
Word size. |
NumWords |
|
One |