Mojo function
log2
log2(x: SIMD[type, size]) -> SIMD[type, size]
Performs elementwise log (base 2) of a SIMD vector.
Args:
- x (
SIMD[type, size]
): Vector to perform logarithm operation on.
Returns:
Vector containing result of performing log base 2 on x.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!