constants/numeric_constants library
Provides useful numeric constants for int, BigInt, and Rational types.
This library includes:
- Large number denominations (thousand, million, billion, etc.)
- Common fractions (half, third, quarter, etc.)
- Time-related fractions (hourFractionOfDay, etc.)
- Computer science values (byte, word, kilobyte, etc.)
Note: Constants are computed at runtime (not compile-time const) due to Rational's constructor limitations.
Classes
- BigIntConstants
-
Provides useful constants for the
BigInttype - IntConstants
-
Provides useful constants for the
inttype - RationalConstants
-
Provides useful constants for the
Rationaltype