Mojo module
mask
Provides functions for bit masks.
You can import these APIs from the bit package. For example:
from std.bit.mask import is_negativeFunctionsโ
- โ
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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!