Searched refs:logical_exp (Results 1 – 1 of 1) sorted by relevance
154 int8_t logical_exp = (int8_t)(exp - 127); in cbor_encode_half() local155 CBOR_ASSERT(logical_exp == exp - 127); in cbor_encode_half()158 if (logical_exp < -24) { in cbor_encode_half()163 } else if (logical_exp < -14) { in cbor_encode_half()168 ((uint16_t)(1u << (24u + logical_exp)) + in cbor_encode_half()169 (uint16_t)(((mant >> (-logical_exp - 2)) + 1) >> in cbor_encode_half()173 ((((uint8_t)logical_exp) + 15u) << 10u) | in cbor_encode_half()