![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FloatPacker.h>
Public Types | |
| enum | { NumOutputsBits = NumExponentBits + NumMantissaBits + 1 } |
| enum | { MantissaShift = FloatInfo::MantissaBits - NumMantissaBits } |
| enum | { ExponentBias = (1 << (NumExponentBits-1)) - 1 } |
| enum | { SignShift = NumExponentBits + NumMantissaBits } |
| enum | { MantissaMask = (1 << NumMantissaBits) - 1 } |
| enum | { ExponentMask = ((1 << NumExponentBits)-1) << NumMantissaBits } |
| enum | { SignMask = 1 << SignShift } |
| enum | { MinExponent = -ExponentBias - 1 } |
| enum | { MaxExponent = ExponentBias } |
| typedef FloatInfo::PackedType | PackedType |
| typedef FloatInfo::FloatType | FloatType |
Public Member Functions | |
| PackedType | Encode (FloatType Value) const |
| FloatType | Decode (PackedType Value) const |
| typedef FloatInfo::FloatType TFloatPacker< NumExponentBits, NumMantissaBits, bRound, FloatInfo >::FloatType |
| typedef FloatInfo::PackedType TFloatPacker< NumExponentBits, NumMantissaBits, bRound, FloatInfo >::PackedType |
|
inline |
|
inline |