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.c163 assert_size_equal(9, cbor_encode_double(1.0e+300, buffer, 512)); in test_double()
169 assert_size_equal(9, cbor_encode_double(nan(""), buffer, 512)); in test_double()
175 assert_size_equal(9, cbor_encode_double(nan("3"), buffer, 512)); in test_double()
181 assert_size_equal(9, cbor_encode_double(strtod("Inf", NULL), buffer, 512)); in test_double()
187 assert_size_equal(9, cbor_encode_double(strtod("-Inf", NULL), buffer, 512)); in test_double()
/freebsd/contrib/libcbor/src/cbor/
H A Dencoding.h133 _CBOR_NODISCARD CBOR_EXPORT size_t cbor_encode_double(double, unsigned char*,
H A Dencoding.c194 size_t cbor_encode_double(double value, unsigned char* buffer, in cbor_encode_double() function
H A Dserialization.c393 return cbor_encode_double(cbor_float_get_float8(item), buffer, in cbor_serialize_float_ctrl()
/freebsd/contrib/libcbor/doc/source/api/
H A Dstreaming_encoding.rst60 .. doxygenfunction:: cbor_encode_double