Home
last modified time | relevance | path

Searched refs:cbor_float_get_float (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/libcbor/test/
H A Dfloat_ctrl_test.c33 assert_float_equal(cbor_float_get_float(float_ctrl), 65504.0F, eps); in test_float2()
46 assert_float_equal(cbor_float_get_float(float_ctrl), 100000.0F, eps); in test_float4()
62 assert_true(fabs(cbor_float_get_float(float_ctrl) - (double)1.0e+300) < eps); in test_float8()
97 assert_true(isnan(cbor_float_get_float(float_ctrl))); in test_bool()
107 assert_true(isnan(cbor_float_get_float(float_ctrl))); in test_bool()
/freebsd/contrib/libcbor/src/cbor/
H A Dfloats_ctrls.h77 _CBOR_NODISCARD CBOR_EXPORT double cbor_float_get_float(
H A Dfloats_ctrls.c46 double cbor_float_get_float(const cbor_item_t *item) { in cbor_float_get_float() function
/freebsd/contrib/libcbor/doc/source/api/
H A Dtype_7.rst28 .. doxygenfunction:: cbor_float_get_float
/freebsd/contrib/libcbor/src/
H A Dcbor.c414 fprintf(out, "Value: %lf\n", cbor_float_get_float(item));