Home
last modified time | relevance | path

Searched refs:fpType (Results 1 – 2 of 2) sorted by relevance

/tinycbor-2.7.6/src/
Dcborencoder.c354 CborError cbor_encode_floating_point(CborEncoder *encoder, CborType fpType, const void *value) in cbor_encode_floating_point() argument
357 assert(fpType == CborHalfFloatType || fpType == CborFloatType || fpType == CborDoubleType); in cbor_encode_floating_point()
358 buf[0] = fpType; in cbor_encode_floating_point()
360 unsigned size = 2U << (fpType - CborHalfFloatType); in cbor_encode_floating_point()
/tinycbor-2.7.6/include/tinycbor/
Dcbor.h201 CBOR_API CborError cbor_encode_floating_point(CborEncoder *encoder, CborType fpType, const void *va…