nRF51 SDK: ieee_float16_t Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ieee_float16_t Struct Reference
Blood Pressure Service

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