BitsPerWord

Clang generates 7 instructions for int32 DivideAndRoundUp but only 2 for uint32.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/BitArray.h

Include

#include "Containers/BitArray.h"

Syntax

static constexpr uint32 BitsPerWord = ((int32)32);

Remarks

Clang generates 7 instructions for int32 DivideAndRoundUp but only 2 for uint32.