Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FFloat16
Description
Convert from Fp32 to Fp16, truncating low bits. (backward-compatible conversion; was used by Set() previously) Clamps values out of range to [-MaxF16Float,MaxF16Float]
| Name | SetTruncate |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Float16.h |
| Include Path | #include "Math/Float16.h" |
void SetTruncate
(
float FP32Value
)