packCompareScalar

fnsize_t packCompareScalar(T, string op)(const(T)[] a, T scalar, ulong[] outWords) if (isNumeric!T)

Packs a[i] op scalar for every element into bitmap words, LSB-first. Unwritten tail bits of the last word are cleared.

Parameters

Tthe element type (numeric)
opone of `"=="`, `"!="`, `"<"`, `"<="`, `">"`, `">="`
athe operand
scalarthe broadcast operand
outWordsthe destination, at least packedWords(a.length) words

Returns

the number of words written.