# Documentation
- [Algorithm](algorithm.md) — Float-like bucket encoding, trapezoidal interpolation, and error bound analysis
## Comparisons
- [base2histogram vs DDSketch](base2histogram-vs-ddsketch.md) — Formal error guarantee vs fixed-memory integer-only bucketing with interpolation
- [base2histogram vs H2 Histogram](base2histogram-vs-h2histogram.md) — Same bucket math, different design choices: interpolation and sliding window vs atomics, sparse storage, and merging
- [base2histogram vs Heistogram](base2histogram-vs-heistogram.md) — Architecture, features, and percentile calculation efficiency comparison