libtommath

Install command:
brew install libtommath

C library for number theoretic multiple-precision integers

https://www.libtom.net/LibTomMath/

License: Unlicense

Development: Pull requests

Formula JSON API: /api/formula/libtommath.json

Formula code: libtommath.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
ventura ✅
monterey ✅
macOS on
Intel
sonoma ✅
ventura ✅
monterey ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.3.0
head ⚡️ HEAD

Patches:

https://github.com/MoarVM/libtommath/commit/db0d387b808d557bd408a6a253c5bf3a688ef274

Depends on when building from source:

libtool 2.6.2 Generic library support script

GitHub Packages downloads:

Last 30 days111,530
Downloads2,616,363
Analytics install events (30 days)4,789
Downloads / install events (30 days)23.3×

Source: GitHub Packages, fetched 2026-11-14T00:22:58Z. Analytics dates: 2026-10-15 to 2026-11-14. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs4,78913,46975,890
Installs (--HEAD)003
Installs on Request97226505
Installs on Request (--HEAD)001
Build Errors0