Ark Server API (ASA) - Wiki
|
#include <FloatPacker.h>
Public Types | |
enum | { MantissaBits = 23 } |
enum | { ExponentBits = 8 } |
enum | { SignShift = 31 } |
enum | { ExponentBias = 127 } |
enum | { MantissaMask = 0x007fffff } |
enum | { ExponentMask = 0x7f800000 } |
enum | { SignMask = 0x80000000 } |
typedef float | FloatType |
typedef uint32 | PackedType |
Static Public Member Functions | |
static PackedType | ToPackedType (FloatType Value) |
static FloatType | ToFloatType (PackedType Value) |
Definition at line 14 of file FloatPacker.h.
Definition at line 26 of file FloatPacker.h.
Definition at line 27 of file FloatPacker.h.
Enumerator | |
---|---|
MantissaBits |
Definition at line 17 of file FloatPacker.h.
Enumerator | |
---|---|
ExponentBits |
Definition at line 18 of file FloatPacker.h.
Enumerator | |
---|---|
SignShift |
Definition at line 19 of file FloatPacker.h.
Enumerator | |
---|---|
ExponentBias |
Definition at line 20 of file FloatPacker.h.
Enumerator | |
---|---|
MantissaMask |
Definition at line 22 of file FloatPacker.h.
Enumerator | |
---|---|
ExponentMask |
Definition at line 23 of file FloatPacker.h.
Enumerator | |
---|---|
SignMask |
Definition at line 24 of file FloatPacker.h.
|
inlinestatic |
Definition at line 34 of file FloatPacker.h.
|
inlinestatic |
Definition at line 29 of file FloatPacker.h.