FGenericPlatformMath::Abs

Computes absolute value in a generic way

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

template<class T>
static constexpr T Abs
(
    const T A
)

Remarks

Computes absolute value in a generic way