Duke's Big Numbers 1.0
C++ and Blueprint libraries for performing math, analysis, and formatting with really large numbers (>10e308).
|
#include "DecimalInvariantFormatter.h"
Public Member Functions | |
UDecimalInvariantFormatter () | |
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 UDecimalInvariantFormatter * | GetDefault () |
Provides fast, no-frills decimal formatting of BigIntegers to strings. Format is suitable for serialization.
|
Flavor:Constructor |
Creates a new UDecimalInvariantFormatter
DF ← df 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 ← strd BI S&
|
staticFlavor:Static |
Gets the default instance of this type of formatter
DF ← fmtd 0
|
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 DF BI S&
Reimplemented from UBigIntegerFormatter.
|
staticFlavor:Static |
Formats the number into a new string in Decimal Invariant Notation
number | The value to be formatted |
S ← strd BI