Commit 4e82991
Vasilev
conformance: promote 6 structural formats to bit-precise (55->61/83)
Add dedicated, independently-verified reference codecs to gen_all_formats.py
and regenerate packs + INDEX for:
- gf10 GoldenFloat phi-aligned radix-2 S1E3M6, bias 3
(rule e=round(9/phi^2)=3, bridge GF8-GF12); decode reuses
the proven GF radix-2 law; 3.0 exact at code 0x120.
- decimal32/64/128 IEEE 754-2008 BID (Binary Integer Decimal): significand
is a plain binary integer (combination-head implied bits +
trailing field), value = coeff * 10^(exp-bias). Cross-checked
vs an exact-rational (fractions.Fraction) oracle; 3.0 f64-exact.
- double_double / quad_double Bailey/Hida multi-double: value = exact sum of
2/4 IEEE-754 binary64 limbs (MS-first). Fixed 128/256-bit
layout, unambiguous decode law (analogous to the earlier
x87_fp80 explicit-integer-bit promotion).
Every promoted pack: explicit decoder + reference encoder, abs_error=0 for all
recorded vectors (decode side), anchor 3.0 ieee754_exact=true.
INDEX_all_formats.json: bitexact_packs 55->61, structural_packs 22->16,
selfconsistent_packs 6 (unchanged). README updated: 3-tier coverage table,
self-consistent index section split out, structural table reduced to the 16
genuinely-undefined-layout formats, SHA-256 manifest regenerated, changelog
entry 2026-06-28.
Remaining structural (16, honest): takum8/16/32/64 (tapered logarithmic,
needs dedicated decoder), afp + per_channel_scale (external scale tensor),
gf256 (open bias R&D parameter), and 9 zero-width parametric entries
(minifloat, q_format, bcd, block_fp, shared_exp, stochastic_rounding,
tapered_fp, unum_i, unum_ii).
Refs: gHashTag/trinity-fpga#206. Deterministic: re-running gen_all_formats.py
reproduces the exact 9-file delta.1 parent d386fa7 commit 4e82991
9 files changed
Lines changed: 839 additions & 99 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | | - | |
55 | | - | |
| 55 | + | |
| 56 | + | |
56 | 57 | | |
57 | | - | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | | - | |
63 | | - | |
| 63 | + | |
| 64 | + | |
64 | 65 | | |
65 | | - | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
71 | | - | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
73 | | - | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
86 | | - | |
87 | | - | |
| 87 | + | |
| 88 | + | |
88 | 89 | | |
89 | | - | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | | - | |
95 | | - | |
| 95 | + | |
| 96 | + | |
96 | 97 | | |
97 | | - | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
366 | 367 | | |
367 | 368 | | |
368 | 369 | | |
369 | | - | |
370 | | - | |
| 370 | + | |
| 371 | + | |
371 | 372 | | |
372 | | - | |
| 373 | + | |
373 | 374 | | |
374 | 375 | | |
375 | 376 | | |
376 | 377 | | |
377 | 378 | | |
378 | | - | |
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
387 | 386 | | |
388 | 387 | | |
389 | 388 | | |
390 | 389 | | |
391 | 390 | | |
392 | 391 | | |
393 | 392 | | |
394 | | - | |
395 | 393 | | |
396 | 394 | | |
397 | 395 | | |
398 | 396 | | |
399 | 397 | | |
400 | 398 | | |
401 | 399 | | |
402 | | - | |
403 | 400 | | |
404 | 401 | | |
405 | 402 | | |
| |||
415 | 412 | | |
416 | 413 | | |
417 | 414 | | |
418 | | - | |
419 | 415 | | |
420 | 416 | | |
421 | 417 | | |
422 | 418 | | |
423 | 419 | | |
424 | 420 | | |
425 | 421 | | |
426 | | - | |
427 | 422 | | |
428 | 423 | | |
429 | 424 | | |
| |||
667 | 662 | | |
668 | 663 | | |
669 | 664 | | |
670 | | - | |
671 | | - | |
672 | | - | |
| 665 | + | |
| 666 | + | |
0 commit comments