T27.AI

Blog

Golden Ruler: a calibration ruler for numeric formats

2026-11-27 · 6 min read

[software vectors, not hardware measurements; the ml_dtypes cross-validation is as reported in the paper] Golden Ruler (arXiv:2606.09686) is a catalogue of 109 numeric formats in 13 clusters and six bit-exact conformance packs: GF16, MXFP4 element, BF16, FP8 E4M3, FP8 E5M2 and E8M0 block scale. Each pack is a self-contained JSON document with a SHA-256 fingerprint, a single row schema and an anchor vector that encodes 3.0 through the identity phi^2 + 1/phi^2 = 3 as a cross-pack sanity check. The ml_dtypes 0.5.4 cross-validation as reported in the paper covers element-level rounding of the float formats; the block-scale formats were checked separately, their divergences documented as permitted interpretation gaps, not hidden.

Title card, no illustration yet, for: Golden Ruler: a calibration ruler for numeric formats
View the title card at full size
#NumberFormats#Verification#GF16#OpenSource

Every new AI-inference chip brings its own numeric format: FP8 with two exponent variants, BF16, MXFP4, block-scale formats — and dozens of research variants. An engineer porting a model between accelerators meets silent divergences that are hard to diagnose without a shared reference ruler.

What we published

Golden Ruler (arXiv:2606.09686) is a catalogue of 109 numeric formats in 13 clusters and six bit-exact conformance packs: GF16, MXFP4 element, BF16, FP8 E4M3, FP8 E5M2 and E8M0 block scale. Each pack is a self-contained JSON document with a SHA-256 fingerprint, a single row schema and an anchor vector that encodes 3.0 through the identity phi^2 + 1/phi^2 = 3 — as a cross-pack sanity check.

Cross-validation against ml_dtypes 0.5.4 (Google/JAX), as reported in the paper: element-level rounding of the float formats (BF16, FP8 E4M3/E5M2, GF16) was compared; the block-scale formats (E8M0, MXFP4 element) were checked separately, their divergences documented explicitly and interpreted as a permitted interpretation gap of the specification, not hidden.

The six conformance packs, by family 109 formats in 13 clusters; one SHA-256 fingerprint per pack; anchor vector 3.0 via phi^2 + 1/phi^2 = 3 Float formats - element-level rounding compared against ml_dtypes 0.5.4, as reported in the paper BF16 FP8 E4M3 FP8 E5M2 GF16 Block-scale formats - checked separately; divergences documented as permitted interpretation gaps E8M0 block scale MXFP4 element
The six conformance packs by family: four float formats compared element-level against ml_dtypes 0.5.4 as reported in the paper; two block-scale formats checked separately with documented interpretation gaps

Why it matters

Honest limitations

Artifacts

All packs and tools are open: github.com/gHashTag/t27 (pack availability and status in the repo; for the float formats the evidence is complete, for the block-scale formats it carries documented caveats). Full text: arxiv.org/abs/2606.09686.

What this does not settle

Receipts

Work with me

Want this kind of check on your own design?

I audit RTL and build independent, bit-exact models, then take the result through synthesis and, when useful, onto an Artix-7 board. The first conformance module is free.