Searched defs:float16_t (Results 1 – 1 of 1) sorted by relevance
121 struct float16_t { struct123 float16_t(float f) : bits(_mesa_float_to_half(f)) {} in float16_t() argument124 float16_t(double d) : bits(_mesa_float_to_half(d)) {} in float16_t() argument125 float16_t(uint16_t raw_bits) : bits(raw_bits) {} in float16_t() function126 static float16_t one() { return float16_t(FP16_ONE); } in one() argument127 static float16_t zero() { return float16_t(FP16_ZERO); } in zero() argument