Searched refs:float_ctrl (Results 1 – 1 of 1) sorted by relevance
18 cbor_item_t *float_ctrl; variable26 float_ctrl = cbor_load(float2_data, 3, &res); in test_float2()27 assert_true(cbor_isa_float_ctrl(float_ctrl)); in test_float2()28 assert_true(cbor_is_float(float_ctrl)); in test_float2()29 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_16); in test_float2()30 assert_true(cbor_float_get_float2(float_ctrl) == 65504.0F); in test_float2()31 assert_true(fabs(cbor_float_get_float(float_ctrl) - 65504.0F) < eps); in test_float2()32 cbor_decref(&float_ctrl); in test_float2()33 assert_null(float_ctrl); in test_float2()39 float_ctrl = cbor_load(float4_data, 5, &res); in test_float4()[all …]