KZ_FLOAT_UNION_TYPE Union Reference

Used for keeping strict aliasing when interpreting kzU32 as kzFloat. More...

#include <kanzi/core/legacy/wrappers/kzs_math.hpp>

Public Attributes

kzU32 u
 Unsigned integer bits of the floating point value. More...
 
kzS32 s
 Signed integer bits of the floating point value. More...
 
kzFloat f
 Floating point value. More...
 

Detailed Description

Used for keeping strict aliasing when interpreting kzU32 as kzFloat.

Member Data Documentation

kzU32 KZ_FLOAT_UNION_TYPE::u

Unsigned integer bits of the floating point value.

kzS32 KZ_FLOAT_UNION_TYPE::s

Signed integer bits of the floating point value.

kzFloat KZ_FLOAT_UNION_TYPE::f

Floating point value.


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