Home
last modified time | relevance | path

Searched refs:half (Results 1 – 3 of 3) sorted by relevance

/tinycbor-2.7.6/include/tinycbor/
Dmath_support_p.h36 static inline double decode_half(unsigned short half) in decode_half() argument
39 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()
/tinycbor-2.7.6/tools/json2cbor/
Djson2cbor.c276 unsigned short half; in decode_json_with_metadata() local
295 … (half = encode_half(v), cbor_encode_half_float(encoder, &half)); in decode_json_with_metadata()
/tinycbor-2.7.6/src/
Dcbor.dox87 * \value CborHalfFloatType Type is an IEEE 754 half precision (16-bit) floating point type