2 ms·
My bad, but still worth mentioning the generalised case: int mask = -(arr[step+begin] < value); int value = (val0 & mask)|(val1 & ~mask);
by yarg 3y ago
My bad, but still worth mentioning the generalised case:
int mask = -(arr[step+begin] < value);
int value = (val0 & mask)|(val1 & ~mask);