# google/double-conversion

Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles.

Repository: https://github.com/google/double-conversion
Canonical: https://ross.abutalabs.com/products/double-conversion
Language: C++
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-31T15:43:46+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 100, release rhythm 28, longevity 100
- inputs: {"age_days": 4337, "days_push": 2, "days_rel": 268, "gap_med": 296, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1193, forks 307 (observed 2026-09-01T02:14:01.892011+00:00)

## What it is
A C++ library providing efficient binary-decimal and decimal-binary conversion routines for IEEE doubles, extracted from the V8 JavaScript engine. It offers fast, correct string-to-double and double-to-string parsing and formatting.

## Use cases
- parse decimal strings into IEEE doubles quickly
- format doubles as shortest round-trippable decimal strings
- replace slow strtod/atof in performance-critical code
- implement JSON or config parsers needing exact float parsing
- embed correct number conversion in a scripting engine

## When to choose
- you need fast, standards-compliant float parsing or formatting in C++
- you want shortest round-trip decimal output for doubles
- you need battle-tested code proven in a major JS engine

## When to avoid
- you only need basic conversions and std::to_string/stod suffices
- you work in a language with built-in fast float conversion
- you need arbitrary-precision decimal arithmetic

## Facets
- artifact type: library
- maturity: stable
- function: serialization, parser, developer-tools
- domain: developer-tools, performance
- platform: cpp, cross-platform
- tags: floating-point, ieee-754, number-parsing, string-conversion, v8, algorithms

## Member repositories
- google/double-conversion (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:01.892011+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:22:29.949561+00:00, confidence not recorded.
  - readme: https://github.com/google/double-conversion (fetched 2026-09-01T02:14:01.892011+00:00, sha bb44e6cd575f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
