Home
last modified time | relevance | path

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

/freebsd/contrib/libcbor/test/
H A Dfloat_ctrl_encoders_test.c170 assert_size_equal(9, cbor_encode_double(1.0e+300, buffer, 512)); in test_double()
176 assert_size_equal(9, cbor_encode_double(nan(""), buffer, 512)); in test_double()
184 assert_size_equal(9, cbor_encode_double(nan("3"), buffer, 512)); in test_double()
191 assert_size_equal(9, cbor_encode_double(strtod("Inf", NULL), buffer, 512)); in test_double()
197 assert_size_equal(9, cbor_encode_double(strtod("-Inf", NULL), buffer, 512)); in test_double()
/freebsd/contrib/libcbor/doc/source/api/
H A Dstreaming_encoding.rst60 .. doxygenfunction:: cbor_encode_double
/freebsd/contrib/libcbor/src/cbor/
H A Dencoding.h128 _CBOR_NODISCARD CBOR_EXPORT size_t cbor_encode_double(double, unsigned char *,
H A Dencoding.c186 size_t cbor_encode_double(double value, unsigned char *buffer, in cbor_encode_double() function
H A Dserialization.c365 return cbor_encode_double(cbor_float_get_float8(item), buffer, in cbor_serialize_float_ctrl()