lbmsdm_decimal_t_stct Struct Reference

Structure to hold a scaled decimal number. A scaled decimal number consists of a mantissa $m$ and an exponent $exp$. It represents the value $m\cdot 10^{exp}$. More...

#include <lbmsdm.h>


Data Fields

int64_t mant
int8_t exp


Detailed Description

The mantissa is represented as a 64-bit signed integer. The exponent is represented as an 8-bit signed integer, and can range from -128 to 127.


Field Documentation

int8_t lbmsdm_decimal_t_stct::exp

Exponent.

int64_t lbmsdm_decimal_t_stct::mant

Mantissa.


The documentation for this struct was generated from the following file:
Generated on Wed Jul 16 15:58:06 2014 for LBM API by  doxygen 1.4.7