gls_ieee_float16_t Struct Reference

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
 Base 10 exponent, only 4 bits. More...
 
int16_t mantissa
 Mantissa, only 12 bits. More...
 

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: