Kanzi
3.9.10
Namespaces
|
Functions
half_float.hpp File Reference
#include <
kanzi/core/legacy/kzs_types.hpp
>
#include <
kanzi/core/core_api.hpp
>
Namespaces
namespace
kanzi
Functions
uint16_t
kanzi::floatToHalfFloat
(
float
f
)
Converts float to 16 bits representing a half float.
float
kanzi::halfFloatToFloat
(
uint16_t
halfFloatNumber
)
Converts 16 bits representing a half float to a float.
Kanzi documentation. Copyright © 2024, Rightware Oy. All rights reserved.