Searched refs:cbor_encode_double (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/libcbor/test/ |
H A D | float_ctrl_encoders_test.c | 170 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 D | streaming_encoding.rst | 60 .. doxygenfunction:: cbor_encode_double
|
/freebsd/contrib/libcbor/src/cbor/ |
H A D | encoding.h | 128 _CBOR_NODISCARD CBOR_EXPORT size_t cbor_encode_double(double, unsigned char *,
|
H A D | encoding.c | 186 size_t cbor_encode_double(double value, unsigned char *buffer, in cbor_encode_double() function
|
H A D | serialization.c | 365 return cbor_encode_double(cbor_float_get_float8(item), buffer, in cbor_serialize_float_ctrl()
|