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

e4m3x2_to_f16x2

def e4m3x2_to_f16x2(pair: UInt32) -> UInt32

Widens the two E4M3 bytes in the low half of pair to an f16 pair.

Byte 0 lands in the low half. E4M3 widens exactly to f16.

Returns:

UInt32

Was this page helpful?