Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.

PropertyValue
Full nameBigInt
AliasBInt
Internal base2^64 (binary representation)
Word typeUInt64 (little-endian)
Python equivalentint