FClangPlatformMath

Clang implementation of math functions

Windows
MacOS
Linux

Inheritance Hierarchy

FGenericPlatformMath

FClangPlatformMath

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Clang/ClangPlatformMath.h

Include

#include "Clang/ClangPlatformMath.h"

Syntax

struct FClangPlatformMath : public FGenericPlatformMath

Remarks

Clang implementation of math functions

Functions

Name Description

Public function Static

uint32

 

CountLeadingZeros

(
    uint32 Value
)

Counts the number of leading zeros in the bit representation of the value

Public function Static

uint64

 

CountLeadingZeros64

(
    uint64 Value
)

Counts the number of leading zeros in the bit representation of the value

Public function Static

uint8

 

CountLeadingZeros8

(
    uint8 Value
)

Counts the number of leading zeros in the bit representation of the value

Public function Static

uint32

 

CountTrailingZeros

(
    uint32 Value
)

Counts the number of trailing zeros in the bit representation of the value

Public function Static

uint64

 

CountTrailingZeros64

(
    uint64 Value
)

Counts the number of trailing zeros in the bit representation of the value

Public function Static

uint32

 

FloorLog2

(
    uint32 Value
)

Public function Static

uint64

 

FloorLog2_64

(
    uint64 Value
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss