a < b, 0 otherwise.ctLessThan
fn
uint ctLessThan(T)(T a, T b) if (is(T == ubyte) || is(T == ushort) || is(T == uint) || is(T == ulong)) pure nothrow @nogc @safeCompares two unsigned integers in constant time, returning 1 if a < b.
The comparison is performed using arithmetic operations that do not branch based on the input values.
Parameters
a | First value. |
b | Second value. |
Returns
1 if