FGenericPlatformMath::Log2

1.0 / Loge(2) = 1.4426950f

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 float Log2
(
    float Value
)

Remarks

1.0 / Loge(2) = 1.4426950f