nRF51 SDK: ieee_float32_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_float32_t Struct Reference
Health Thermometer Service

FLOAT format (IEEE-11073 32-bit FLOAT, defined as a 32-bit value with a 24-bit mantissa and an 8-bit exponent. More...

`#include <ble_hts.h>`

## Data Fields

int8_t | exponent
int32_t | mantissa

## Detailed Description

FLOAT format (IEEE-11073 32-bit FLOAT, defined as a 32-bit value with a 24-bit mantissa and an 8-bit exponent.

## Field Documentation

int8_t ieee_float32_t::exponent

Base 10 exponent

int32_t ieee_float32_t::mantissa

Mantissa, should be using only 24 bits