qd
« Back to VersTracker
Description:
C++/Fortran-90 double-double and quad-double package
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: scientific-computing c-plus-plus fortran mathematics high-precision
Install: brew install qd
About:
Qd provides a comprehensive suite of C++ and Fortran-90 routines for performing floating-point arithmetic with double-double (approx. 106-bit) and quad-double (approx. 212-bit) precision. It is designed to serve as a robust software extension for achieving higher precision than standard IEEE 754 floating-point types, without requiring specialized hardware. The library is widely used in computational mathematics and scientific research for tasks demanding enhanced numerical accuracy and stability.
Key Features:
  • High-precision arithmetic in C++ and Fortran-90
  • Implements double-double and quad-double data types
  • Includes elementary functions and geometric routines
  • Designed for portability across standard computing platforms
Use Cases:
  • High-precision scientific computing and research
  • Validating algorithms developed with standard floating-point arithmetic
  • Solving numerical problems where standard precision is insufficient
Alternatives:
  • MPFR – MPFR provides arbitrary precision floating-point arithmetic, whereas Qd focuses specifically on fixed high-precision formats (double-double and quad-double) for performance.
  • Boost.Multiprecision – Boost offers a broader C++ library for various number types, while Qd is a specialized, lightweight solution for specific high-precision needs.
Version History
Detected Version Rev Change Commit
Sep 26, 2025 10:27pm 0 VERSION_BUMP 6ea59b86