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