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 days1,058,750
Downloads66,779,442
Analytics install events (30 days)131,617
Downloads / install events (30 days)8.0×

Source: GitHub Packages, fetched 2026-12-01T01:07:14Z. Analytics dates: 2026-11-01 to 2026-12-01. 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
Installs131,614340,3661,773,286
Installs (--HEAD)3532
Installs on Request2747694,969
Installs on Request (--HEAD)001
Build Errors2,391