double-conversion
« Back to VersTracker
Description:
Binary-decimal and decimal-binary routines for IEEE doubles
Type: Formula  |  Latest Version: 3.4.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c-plus-plus library floating-point conversion math
Install: brew install double-conversion
About:
Double-conversion is a high-performance C++ library that provides binary-to-decimal and decimal-to-binary conversion routines for IEEE double-precision floating-point numbers. It is designed for accuracy and speed, making it ideal for applications that need to convert floating-point values to strings and back. This library powers the number-to-string conversion in many modern JavaScript engines and other performance-critical systems.
Key Features:
  • High-performance C++ implementation
  • IEEE 754 compliant for accurate conversions
  • Minimal dependencies
  • Widely used in major JavaScript engines like V8
Use Cases:
  • Implementing fast floating-point to string conversion in compilers or interpreters
  • Building high-performance data serialization systems
  • Developing applications requiring precise numerical formatting
Alternatives:
  • Ryu – Ryu is a newer algorithm that often provides even faster float-to-string conversions, while double-conversion is a well-established and robust library.
  • Standard Library (std::to_chars) – C++17's std::to_chars offers a standard, locale-independent way to convert numbers, but double-conversion may offer more control or performance in specific legacy or high-demand scenarios.
License: BSD-3-Clause
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit