| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
sfloat_t Struct Reference
Glucose Service | Utility Functions and Definitions

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

`#include <app_util_bds.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