Searched refs:uval (Results 1 – 2 of 2) sorted by relevance
1013 static inline float float_from_u4_28(uint32_t uval) in float_from_u4_28() argument1017 return uval * scale; in float_from_u4_28()1025 static inline float float_from_u4_12(uint16_t uval) in float_from_u4_12() argument1029 return uval * scale; in float_from_u4_12()1105 static inline float float_from_u8(uint8_t uval) in float_from_u8() argument1109 return ((int)uval - 128) * scale; in float_from_u8()
47 uint8_t uval = clamp8_from_float((f - 128) / (1 << 7)); in testClamp8() local51 EXPECT_EQ(lim8pos, uval); in testClamp8()53 EXPECT_EQ(lim8neg, uval); in testClamp8()58 uint8_t uval2 = clamp8_from_float(float_from_u8(uval)); in testClamp8()59 int diff = abs(uval - uval2); in testClamp8()