Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 AsUInt
(
float F |
Performs a bit cast of the given float to an unsigned int of the same bit width. | GenericPlatform/GenericPlatformMath.h | |
static uint64 AsUInt
(
double D |
Performs a bit cast of the given double to an unsigned int of the same bit width. | GenericPlatform/GenericPlatformMath.h |
AsUInt(float)
Description
Performs a bit cast of the given float to an unsigned int of the same bit width.
| Name | AsUInt |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h |
| Include Path | #include "GenericPlatform/GenericPlatformMath.h" |
static uint32 AsUInt
(
float F
)
A bitwise copy of the float in a 32-bit unsigned integer value.
Parameters
| Name | Remarks |
|---|---|
| F | The float to bit cast to an unsigned integer. |
AsUInt(double)
Description
Performs a bit cast of the given double to an unsigned int of the same bit width.
| Name | AsUInt |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h |
| Include Path | #include "GenericPlatform/GenericPlatformMath.h" |
static uint64 AsUInt
(
double D
)
A bitwise copy of the double in a 64-bit unsigned integer value.
Parameters
| Name | Remarks |
|---|---|
| D | The double to bit cast to an unsigned integer. |