The RDM Binary Coded Decimal (BCD) data structure. More...
#include "rdmbcdtypes.h"
Data Fields | |
| uint8_t | prec |
| int8_t | exp |
| uint8_t | flags |
| int8_t | sign |
| uint8_t | data [32+1] |
The RDM Binary Coded Decimal (BCD) data structure.
| uint8_t RDM_BCD_T::data[32+1] |
Fraction
| int8_t RDM_BCD_T::exp |
The exponent in base 10 that the fraction should be adjusted with
| uint8_t RDM_BCD_T::flags |
For internal use only. Should be set to 0
| uint8_t RDM_BCD_T::prec |
The number of decimals after the desimal point
| int8_t RDM_BCD_T::sign |
The sign were 1 indicate a positive numbers and -1 a negative numbers