Public Attributes | List of all members
gls_ieee_float16_t Struct Reference
BLE Services » Glucose Service (GLS) » Structures

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

`#include <gls.h>`

## Public Attributes
int8_t | exponent
int16_t | mantissa

## Detailed Description

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

Definition at line 270 of file gls.h.

## Member Data Documentation

## ◆ exponent

int8_t gls_ieee_float16_t::exponent

Base 10 exponent, only 4 bits.

Definition at line 272 of file gls.h.

## ◆ mantissa

int16_t gls_ieee_float16_t::mantissa

Mantissa, only 12 bits.

Definition at line 273 of file gls.h.

The documentation for this struct was generated from the following file:

- gls.h