mpfr
« Back to VersTracker
Description:
C library for multiple-precision floating-point computations
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: library c math numerical precision
Install: brew install mpfr
About:
MPFR is a portable C library for multiple-precision floating-point computations with correct rounding. It provides precise arithmetic operations based on well-defined semantics, ensuring results are as accurate as if computations were carried out in the target precision. The library is designed to be efficient and easy to use for scientific and numerical applications.
Key Features:
  • Correct rounding to any specified precision
  • Extensive set of mathematical functions
  • Portability across different platforms and compilers
  • Well-documented API with clear semantics
Use Cases:
  • High-precision scientific computing and research
  • Implementing accurate numerical algorithms
  • Financial modeling requiring exact decimal arithmetic
Alternatives:
  • GMP – GMP focuses on integer arithmetic, while MPFR specializes in floating-point operations with correct rounding.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 12:42am 0 VERSION_BUMP 6708e8f7
Sep 16, 2024 8:55pm 0 VERSION_BUMP 6a63f4e9