6#include "Logging/LogMacros.h"
12
13
42
43
44template<uint32 NumExponentBits, uint32 NumMantissaBits,
bool bRound,
typename FloatInfo=
FFloatInfo_IEEE32>
52 enum {
SignShift = NumExponentBits + NumMantissaBits };
55 enum {
ExponentMask = ((1 << NumExponentBits)-1) << NumMantissaBits };
DECLARE_LOG_CATEGORY_EXTERN(LogFloatPacker, Log, All)
static PackedType ToPackedType(FloatType Value)
static FloatType ToFloatType(PackedType Value)
PackedType Encode(FloatType Value) const
FloatInfo::FloatType FloatType
FloatInfo::PackedType PackedType
FloatType Decode(PackedType Value) const