nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
sfloat_t Struct Reference

SFLOAT format (IEEE-11073 16-bit FLOAT, meaning 4 bits for exponent (base 10) and 12 bits mantissa) More...

#include <ble_gls.h>

Data Fields

int8_t exponent
 
int16_t mantissa
 

Detailed Description

SFLOAT format (IEEE-11073 16-bit FLOAT, meaning 4 bits for exponent (base 10) and 12 bits mantissa)

Field Documentation

int8_t sfloat_t::exponent

Base 10 exponent, should be using only 4 bits

int16_t sfloat_t::mantissa

Mantissa, should be using only 12 bits