3.17 — Test E10: Fixed-point parity (Q-format sanity)
- Goal. Prove fixed-point Q implementations preserve bands and collapse within budget.
- Profiles.
ain Q1.15 or Q5.11;uin Q2.30 or Q5.27; apply the same to{U,W}as needed. - Vectors. Include adversarial
a = ±(1 - eps_a), near-zerom, alternating signs. - Checks.
|a_fp - a_dp| <= 2*ulp(a_fp)andphi_fp == phi_dpwithin magnitude tolerance;
streaming parity:a_out_fp == a_out_dpwithin the Q-budget. - Verdict. PASS/WARN/FAIL per envelope; record the chosen Q formats and tolerances in the manifest.
3.18 — Test E11: Backfill/shuffle invariance (U/W)
- Goal. Assert
batch == stream == shuffledunder{U,W}across random permutations. - Procedure. Fix a multiset of
(a,w); compare outputs overN >= 50random shuffles. - Acceptance. All deltas
<= tolfor float or within the declared Q-budget for fixed-point. - Verdict. PASS if every permutation is within bound.
3.19 — Test E12: Near-zero division guard (M2 + policy)
- Goal. Show bounded alignment and declared magnitude behavior as denominators approach zero.
- Procedure.
Choose(m_f,a_f),(m_g,a_g)with|m_g| -> 0.
Alignment: verify|a_div| < 1and finite witha_div = (a_f - a_g) / (1 - a_f*a_g).
Magnitude: follow the declared policy:
strict: classical divide with explicit zero handling;
soft:m_out = m_f / max(|m_g|, denom_soft_min)with sign;
meadow:m_out = 0ifm_g = 0. - Verdict. PASS if alignment stays bounded and
m_outmatches the policy.
Navigation
Back: Shunyaya Symbolic Mathematical Hardware – Acceptance, Failures & Ops Meaning (3.13–3.16)
Next: Shunyaya Symbolic Mathematical Hardware – Operational Playbooks: Automotive, EV & Robotics (4.1–4.3)
Directory of Pages
SSMH – Table of Contents