FGenericPlatformMath::AsUInt

Performs a bit cast of the given double to an unsigned int of the same bit width.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h

Include

#include "GenericPlatform/GenericPlatformMath.h"

Syntax

static uint64 AsUInt
(
    double F
)

Remarks

Performs a bit cast of the given double to an unsigned int of the same bit width.

Returns

A bitwise copy of the double in a 64-bit unsigned integer value.

Parameters

Parameter

Description

D

The double to bit cast to an unsigned integer.