ieee_float16_t

nRF5 SDK v12.1.0

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

  • components/ble/ble_services/ble_bps/ble_bps.h