Zserio C++ runtime library  1.2.0
Built for Zserio 2.16.0
FloatUtil.h File Reference
#include "zserio/Types.h"

Go to the source code of this file.

Namespaces

 zserio
 

Functions

float zserio::convertUInt16ToFloat (uint16_t float16Value)
 
uint16_t zserio::convertFloatToUInt16 (float float32)
 
float zserio::convertUInt32ToFloat (uint32_t float32Value)
 
uint32_t zserio::convertFloatToUInt32 (float float32)
 
double zserio::convertUInt64ToDouble (uint64_t float64Value)
 
uint64_t zserio::convertDoubleToUInt64 (double float64)
 

Detailed Description

The module provides help methods for manipulation with float numbers.

The following float formats defined by IEEE 754 standard are supported:

Definition in file FloatUtil.h.