![]() |
Duke's Big Numbers 1.0
C++ and Blueprint libraries for performing math, analysis, and formatting with really large numbers (>10e308).
|
#include "HexadecimalInvariantFormatter.h"
Public Member Functions | |
| UHexadecimalInvariantFormatter () | |
| virtual int32 | GetRadix () const override |
| virtual void | OnAppendToString (const FBigInteger &number, FString &string) const override |
Public Member Functions inherited from UBigIntegerFormatter | |
| FString | ToString (const FBigInteger &Number) const |
| FString & | AppendToString (const FBigInteger &Number, UPARAM(ref) FString &String) const |
| virtual int32 | GetRadix () const |
| virtual void | OnAppendToString (const FBigInteger &number, FString &string) const |
Static Public Member Functions | |
| static FString | ToInvariantString (const FBigInteger &number) |
| static void | AppendInvariantToString (const FBigInteger &number, FString &string) |
| static UHexadecimalInvariantFormatter * | GetDefault () |
Provides very fast, no-frills hexadecimal formatting of BigIntegers to strings. Format is suitable for serialization.
|
Flavor:Constructor |
Creates a new UHexadecimalInvariantFormatter
HF ← hf 0
|
staticFlavor:Static |
Formats the number, appending it to the provided string
| number | The value to be formatted |
| string | The string that the value should be formatted into |
0 ← str BF BI S&0 ← strh BI S&
|
staticFlavor:Static |
Gets the default instance of this type of formatter
HF ← fmth 0
|
overridevirtualFlavor:Instance |
Gets the main radix used by the format
I4 ← rad HFReimplemented from UBigIntegerFormatter.
|
overridevirtualFlavor:Instance |
Formats the number, appending it to the provided string
| number | The value to be formatted |
| string | The string that the value should be formatted into |
0 ← str BF BI S&0 ← str HF BI S&Reimplemented from UBigIntegerFormatter.
|
staticFlavor:Static |
Formats the number into a new string in Hexadecimal Invariant Notation
| number | The value to be formatted |
S ← strh BI