mpdecimal

Install command:
brew install mpdecimal

Also known as: libmpdec

Library for decimal floating point arithmetic

https://www.bytereef.org/mpdecimal/

License: BSD-2-Clause

Development: Pull requests

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

Formula code: mpdecimal.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable ✅ 4.0.1

GitHub Packages downloads:

Last 30 days973,433
Downloads66,057,677
Analytics install events (30 days)139,667
Downloads / install events (30 days)7.0×

Source: GitHub Packages, fetched 2026-11-11T00:49:49Z. Analytics dates: 2026-10-12 to 2026-11-11. 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
Installs139,664326,5571,769,748
Installs (--HEAD)3631
Installs on Request2367185,021
Installs on Request (--HEAD)001
Build Errors2,682