Surprisingly useful little identity: if a, b, c >= 0, then saturate(a + b - c) = saturate(saturate(a + saturate(b - c)) - saturate(c - b)) where saturate(x) = min(max(x, 0), k) for some real k >= 0
That's a pretty cool identity! I don't know why but I would write it like this without the quantifier: pdep(pext(x, mask) - pext(y, mask), mask) = ((x&mask) - (y&mask)) & mask
-
-
I like it with that qualifier just because it emphasizes that the set is closed under the (such-defined) addiiton/subtraction.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.