Searched defs:F2DOT14 (Results 1 – 1 of 1) sorted by relevance
116 struct F2DOT14 : HBINT16 struct118 F2DOT14& operator = (uint16_t i ) { HBINT16::operator= (i); return *this; } in operator =()120 float to_float () const { return ((int32_t) v) / 16384.f; } in to_float()121 void set_float (float f) { v = roundf (f * 16384.f); } in set_float()