Searched refs:half (Results 1 – 3 of 3) sorted by relevance
36 static inline double decode_half(unsigned short half) in decode_half() argument39 return _cvtsh_ss(half); in decode_half()41 int exp = (half >> 10) & 0x1f; in decode_half()42 int mant = half & 0x3ff; in decode_half()47 return half & 0x8000 ? -val : val; in decode_half()
276 unsigned short half; in decode_json_with_metadata() local295 … (half = encode_half(v), cbor_encode_half_float(encoder, &half)); in decode_json_with_metadata()
87 * \value CborHalfFloatType Type is an IEEE 754 half precision (16-bit) floating point type