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

SFLOAT format (IEEE-11073 16-bit FLOAT, defined as a 16-bit vlue with 12-bit mantissa and 4-bit exponent. More...

#include <ble_bps.h>

Data Fields

int8_t exponent
 
int16_t mantissa
 

Detailed Description

SFLOAT format (IEEE-11073 16-bit FLOAT, defined as a 16-bit vlue with 12-bit mantissa and 4-bit exponent.

Field Documentation

int8_t ieee_float16_t::exponent

Base 10 exponent, only 4 bits

int16_t ieee_float16_t::mantissa

Mantissa, only 12 bits