ulfjack/ryu
Converts floating point numbers to decimal strings observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 66
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3122
- days_rel: n/a
- days_push: 205
- n_releases_24m: 0
Adoption not part of the score
1347 stars · 111 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Ryu is a C library (with a Java port) for converting IEEE-754 floating-point numbers to decimal strings using shortest, fixed, and scientific formats. Its algorithms are peer-reviewed and the fastest known for float-to-string conversion, guaranteeing round-trip safety.
Use cases
- convert floats to shortest decimal strings
- fast alternative to sprintf for float formatting
- round-trip safe float serialization
- format doubles in scientific or fixed notation
- convert half/float/double/long double/float128 to strings
When to choose
- you need the fastest float-to-string conversion
- you need shortest round-trip-safe decimal output
- you need to support multiple IEEE widths including 128-bit
When to avoid
- you need string-to-float parsing
- you need locale-aware formatting
- you need 128-bit fixed or scientific output
Facets
library · maturity stable
serialization parser developer-tools performance cpp c cross-platform jvm floating-point number-formatting round-trip float-to-string ieee-754 algorithms
1 source
- readme: https://github.com/ulfjack/ryu · fetched 2026-08-28 · 740ae9e965d3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ulfjack/ryu | main | 62 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem