3 ms·
I don't know the answer but this is "mission critical" code. Averaging inputs is more testable than having a process for passing control and managing edge cases
by s_baby 14y ago
I don't know the answer but this is "mission critical" code. Averaging inputs is more testable than having a process for passing control and managing edge cases.
Every branch in mission critical code is tested for all possible permutations. Averaging is simpler from a verification standpoint. Theoretically...