FClangPlatformMath

Clang implementation of math functions

Choose your operating system:

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
)