Abort

Will halt program on division by zero, invalid operations, overflows, and underflows

Has 16 significant digits, rounds half up

Members

Static functions

onDivisionByZero
void onDivisionByZero(T d)
onInvalidOperation
void onInvalidOperation(T d)
onOverflow
void onOverflow(T d)
onUnderflow
void onUnderflow(T d)

Variables

precision
enum uint precision;

A precision of 9 allows all possible the results of +,-,*, and / to fit into a ulong with no issues.

roundingMode
enum Rounding roundingMode;

Meta