Const
Returns the absolute value of a 32-bit signed integer.
Adds two Int32 values.
Clamps a number to the Int32 range.
Divides one Int32 by another using floor division.
Type guard to check if a value is an Int32.
Readonly
max: (...values: readonly WithSmallInt<Int32, 40>[]) => Int32Returns the larger of two Int32 values.
Readonly
MAX_VALUE: numberThe maximum value for a 32-bit signed integer.
Readonly
min: (...values: readonly WithSmallInt<Int32, 40>[]) => Int32Returns the smaller of two Int32 values.
Readonly
MIN_VALUE: numberThe minimum value for a 32-bit signed integer.
Multiplies two Int32 values.
Raises an Int32 to the power of another Int32.
Generates a random Int32 value within the valid range.
Subtracts one Int32 from another.
Namespace providing type-safe arithmetic operations for 32-bit signed integers.
All operations automatically clamp results to the valid Int32 range [-2147483648, 2147483647]. This ensures that all arithmetic maintains the 32-bit signed integer constraint, preventing overflow.