lbmpdm_decimal_t 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 <lbmpdm.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

int64_t lbmpdm_decimal_t::mant

Mantissa.

int8_t lbmpdm_decimal_t::exp

Exponent.


The documentation for this struct was generated from the following file:
Generated on Thu Mar 6 13:11:24 2014 for LBM API by  doxygen 1.5.2