Mojo function
normalize
normalize(value: SIMD[bfloat16, 1]) -> SIMD[uint16, 1]
normalize(value: SIMD[int32, 1]) -> SIMD[uint32, 1]
normalize(value: SIMD[uint16, 1]) -> SIMD[uint16, 1]
normalize(value: SIMD[float32, 1]) -> SIMD[uint32, 1]
normalize(value: SIMD[dtype, 1]) -> SIMD[_uint_type_of_width[::Int](), 1]
Normalize the value to the appropriate unsigned integer type. This is needed for radix sort to work correctly.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!