libcoap 4.3.5-develop-72190a8
|
Abstraction of a fixed point number that can be used where necessary instead of a float. More...
#include <coap_session.h>
Data Fields | |
uint16_t | integer_part |
Integer part of fixed point variable. | |
uint16_t | fractional_part |
Fractional part of fixed point variable 1/1000 (3 points) precision. | |
Abstraction of a fixed point number that can be used where necessary instead of a float.
1,000 fractional bits equals one integer
Definition at line 31 of file coap_session.h.
uint16_t coap_fixed_point_t::fractional_part |
Fractional part of fixed point variable 1/1000 (3 points) precision.
Definition at line 33 of file coap_session.h.
uint16_t coap_fixed_point_t::integer_part |
Integer part of fixed point variable.
Definition at line 32 of file coap_session.h.