🍺 BREW Explorer

← all formulae

mpfr

brew install mpfr v4.2.2 LGPL-3.0-or-later

C library for arbitrary-precision floating-point arithmetic with correct rounding.

Why you might care

MPFR provides high-precision decimal and scientific computation beyond what standard float/double offers, essential for numerical code that demands accuracy. It's a core build/runtime dependency for GCC, GNU Octave, and mathematical software; you typically don't use it directly unless building math libraries or scientific applications that need guaranteed precision guarantees.

Categories

Alternatives

GMP Arb FLINT
33.6k
30-day installs · #175
137.5k
90-day · #151
510.7k
365-day · #147

Runtime dependencies

gmp

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "GMP",
    "Arb",
    "FLINT"
  ],
  "build_dependencies": [
    "autoconf",
    "automake",
    "libtool",
    "texinfo"
  ],
  "categories": [
    "library",
    "math",
    "scientific"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "gmp"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "C library for multiple-precision floating-point computations",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:43+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "mpfr",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://www.mpfr.org/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "The GNU MPFR Library",
  "installs_30d": 33588,
  "installs_365d": 510717,
  "installs_90d": 137533,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "LGPL-3.0-or-later",
  "llm_generated_at": "2026-06-20T23:43:12+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "mpfr",
  "oldnames": [],
  "one_liner": "C library for arbitrary-precision floating-point arithmetic with correct rounding.",
  "optional_dependencies": [],
  "rank_30d": 175,
  "rank_365d": 147,
  "rank_90d": 151,
  "raw_hash": "d800317c010f44a2",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/m/mpfr.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "4.2.2",
  "versioned_formulae": [],
  "why_use_this": "MPFR provides high-precision decimal and scientific computation beyond what standard float/double offers, essential for numerical code that demands accuracy. It\u0027s a core build/runtime dependency for GCC, GNU Octave, and mathematical software; you typically don\u0027t use it directly unless building math libraries or scientific applications that need guaranteed precision guarantees."
}