std1.0.0-beta-7 SafeC docs

std :: ml::float16

Function std::fp16_to_f32

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

float fp16_to_f32(unsigned short h)

Converts an fp16 bit pattern back to float32. Exact -- every fp16 value (including subnormals, infinities, and NaNs) is exactly representable in float32.