IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Mojo function

unpack_fp6_x4

def unpack_fp6_x4(packed: UInt32) -> SIMD[DType.uint8, SIMDLength(4)]

Unpacks a 24-bit group into four FP6 codes, the inverse of pack_fp6_x4.

Args:

  • packed (UInt32): Four packed FP6 codes in bits 23:0. Upper bits are ignored.

Returns:

SIMD[DType.uint8, SIMDLength(4)]: Four FP6 codes, each in the low 6 bits.