mask
Provides functions for bit masks.
You can import these APIs from the bit package. For example:
from std.bit.mask import is_negative
Functions
-
is_negative: Get a bitmask of whether the value is negative. -
splat: Elementwise splat the boolean value of each element in the SIMD vector into all bits of the corresponding element in a new SIMD vector.