Namespace providing type-safe operations for Int branded types.
The Int type represents any integer value (no fractional component) without
range restrictions. All operations preserve the integer constraint, using
floor division for division operations.
Unlike SafeInt, Int allows values outside the safe integer range (±2^53 - 1),
but be aware that very large integers may lose precision in JavaScript's
number type.
Namespace providing type-safe operations for Int branded types.
The Int type represents any integer value (no fractional component) without range restrictions. All operations preserve the integer constraint, using floor division for division operations.
Unlike SafeInt, Int allows values outside the safe integer range (±2^53 - 1), but be aware that very large integers may lose precision in JavaScript's number type.