std1.0.0-beta-7 SafeC docs

std :: ml::float16

Function std::bf16_to_f32

#include <std/ml/float16.h> source ยท definition

float bf16_to_f32(unsigned short b)

Converts a bf16 bit pattern back to float32. Exact and lossless (a zero-extension into the low 16 mantissa bits) -- every bf16 value is exactly representable in float32 by construction.