nRF51 SDK v9.0.0
Data Fields
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


This document was last updated on Thu Jul 9 2015.
Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone.