Part I — BigInt (BInt)
Overview
BigInt (alias BInt) is an arbitrary-precision signed integer
type — the Mojo-native equivalent of Python’s int. It supports
unlimited-precision integer arithmetic, bitwise operations, and number-theoretic
functions.
| Property | Value |
|---|---|
| Full name | BigInt |
| Alias | BInt |
| Internal base | 2^64 (binary representation) |
| Word type | UInt64 (little-endian) |
| Python equivalent | int |