std1.0.0-beta-7 SafeC docs

std :: ml::float16

Function std::fp16_to_bf16_bulk

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

void fp16_to_bf16_bulk([]const unsigned short src, []unsigned short dst)

Between the two 16-bit formats (through float32, rounded to nearest even): fp16 -> bf16 loses 3 mantissa bits, bf16 -> fp16 rounds to fp16's range (overflow to infinity, small values to subnormals or zero).