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 BigInt type
IntConstants
Provides useful constants for the int type
RationalConstants
Provides useful constants for the Rational type