Duke's Big Numbers 1.0
C++ and Blueprint libraries for performing math, analysis, and formatting with really large numbers (>10e308).
|
#include "BigIntegerFormatter.h"
Public Member Functions | |
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 |
Provides a contract allowing Big Integer string formatters to be interchanged.
The caller of this interface need not worry about format specifiers or any of that with this interface - that is all taken care of when setting up the String Formatter object for use.
|
Flavor:Blueprint |
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 |
S& ← str BF BI S&
|
virtualFlavor:Instance |
Gets the main radix used by the format
I4 ← rad BF
Reimplemented in UHexadecimalInvariantFormatter.
|
virtualFlavor: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&
Reimplemented in UDecimalFullFormatter, UDecimalInvariantFormatter, UDecimalScalingFormatter, and UHexadecimalInvariantFormatter.
|
Flavor:Instance |
Formats the number into a new string
Number | The value to be formatted |
S ← str BF BI