What tests should accompany conversion of a MATLAB algorithm from double precision to single precision for an embedded target? A few ordinary inputs may produce nearly identical outputs while edge cases fail.
For a running sum or a calculation involving the subtraction of similar values, how can the test set expose a numerically fragile formulation rather than just compare rounded final results?




