Skip to content

func.CAbiFloatFormat enum

← Attribute reference

Floating representation in a retained C ABI source object.

Cases

Keyword Value Description
f8e4m3fn 1 Finite-only E4M3 8-bit float.
f8e5m2 2 E5M2 8-bit float.
f16 3 IEEE binary16 float.
bf16 4 Bfloat16 float.
f32 5 IEEE binary32 float.
f64 6 IEEE binary64 float.

Used by

  • #func.abi.c.type.format