Duke's Big Numbers 1.0
C++ and Blueprint libraries for performing math, analysis, and formatting with really large numbers (>10e308).
|
#include "TestHelper.h"
Static Public Member Functions | |
static FString | PrettyPrintLeftShiftedNumber (int32 base, int32 shift) |
static bool | GetEqualityTestExpectation (int32 compareResult, int32 operatorMode) |
Provides helper methods for testing
|
inlinestatic |
Gets the expected boolean result of a in/equality comparison given the expected compare result and the comparison operator mode
compareResult | The expected compare result (<0 for less, 0 for equal, >0 for greater) |
operatorMode | The operator mode (0 ==, 1 !=, 2 <, 3 >, 4 <=, 5 >=) |
|
inlinestatic |
Formats a left-shifted number to a string in the form (base<<shift)
base | The base number |
shift | The number of bits of shift |