libmpc
« Back to VersTracker
Description:
C library for the arithmetic of high precision complex numbers
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Other
Tags: c-library mathematics complex-numbers arbitrary-precision scientific-computing
Install: brew install libmpc
About:
Libmpc is a C library for arbitrary precision arithmetic on complex numbers. It provides a clean interface for high-precision complex addition, subtraction, multiplication, division, and functions like cosine and exponential. Its main value is ensuring accurate and portable mathematical computations for scientific and engineering applications.
Key Features:
  • Arbitrary precision complex number arithmetic
  • IEEE 754 compliant floating-point rounding
  • Comprehensive set of mathematical functions
  • C library with a stable, portable API
Use Cases:
  • Implementing high-precision scientific simulations
  • Developing computer algebra systems (CAS)
  • Solving complex mathematical problems requiring accuracy beyond standard floating-point types
Alternatives:
  • MPFR – MPFR provides arbitrary precision for real numbers only; Libmpc builds on MPFR to add complex number support.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 2:24am 0 VERSION_BUMP eb11dac4
Sep 10, 2025 9:53pm 0 VERSION_BUMP 6cdc022f
Sep 16, 2024 10:19pm 0 VERSION_BUMP 295064e5