def bf16_le
import bend-ml-llama@0.2.1.0/main.bend as BendMlLlamaimport Base
1473# 2 little-endian bytes of a BF16 number -> the F32 whose upper 16 bits they are (exact)
1474def bf16_le(+b0: U32, +b1: U32) -> F32:
1475 bitcast(((b0 * 65536 : U32) + (b1 * 16777216 : U32) : U32))