Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
Float32.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#
pragma
once
4
5
#
include
"CoreTypes.h"
6
7
/**
8
* 32 bit float components
9
*/
10
class
FFloat32
11
{
12
public
:
13
14
union
15
{
16
struct
17
{
18
#
if
PLATFORM_LITTLE_ENDIAN
19
uint32 Mantissa : 23;
20
uint32 Exponent : 8;
21
uint32 Sign : 1;
22
#
else
23
uint32
Sign
: 1;
24
uint32
Exponent
: 8;
25
uint32
Mantissa
: 23;
26
#
endif
27
} Components;
28
29
float
FloatValue
;
30
};
31
32
/**
33
* Constructor
34
*
35
* @param InValue value of the float.
36
*/
37
FFloat32
(
float
InValue = 0.0f);
38
};
39
40
41
FORCEINLINE
FFloat32
::
FFloat32
(
float
InValue)
42
:
FloatValue
(InValue)
43
{ }
PLATFORM_LITTLE_ENDIAN
#define PLATFORM_LITTLE_ENDIAN
Definition
Platform.h:144
FORCEINLINE
#define FORCEINLINE
Definition
Platform.h:644
FFloat32
Definition
Float32.h:11
FFloat32::FloatValue
float FloatValue
Definition
Float32.h:29
FFloat32::FFloat32
FFloat32(float InValue=0.0f)
Definition
Float32.h:41
FFloat32::Sign
uint32 Sign
Definition
Float32.h:23
Downloads
ArkServerAPI_NEW
ASA
AsaApi
AsaApi
Core
Public
API
UE
Math
Float32.h
Generated by
1.10.0