Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FFloatInfo_IEEE32 Class Reference

#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)
 

Detailed Description

Definition at line 14 of file FloatPacker.h.

Member Typedef Documentation

◆ FloatType

◆ PackedType

Member Enumeration Documentation

◆ anonymous enum

Enumerator
MantissaBits 

Definition at line 17 of file FloatPacker.h.

◆ anonymous enum

Enumerator
ExponentBits 

Definition at line 18 of file FloatPacker.h.

◆ anonymous enum

Enumerator
SignShift 

Definition at line 19 of file FloatPacker.h.

◆ anonymous enum

Enumerator
ExponentBias 

Definition at line 20 of file FloatPacker.h.

◆ anonymous enum

Enumerator
MantissaMask 

Definition at line 22 of file FloatPacker.h.

◆ anonymous enum

Enumerator
ExponentMask 

Definition at line 23 of file FloatPacker.h.

◆ anonymous enum

Enumerator
SignMask 

Definition at line 24 of file FloatPacker.h.

Member Function Documentation

◆ ToFloatType()

static FloatType FFloatInfo_IEEE32::ToFloatType ( PackedType Value)
inlinestatic

Definition at line 34 of file FloatPacker.h.

◆ ToPackedType()

static PackedType FFloatInfo_IEEE32::ToPackedType ( FloatType Value)
inlinestatic

Definition at line 29 of file FloatPacker.h.


The documentation for this class was generated from the following file: