UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Arithmetic.h File Reference
#include "uLang/Common/Common.h"
#include "uLang/Common/Misc/Optional.h"
#include <cstdint>
#include <cfloat>
#include <math.h>

Go to the source code of this file.

Namespaces

namespace  uLang
 

Functions

constexpr bool uLang::CheckedI64Negate (int64_t Rhs, int64_t *OutResult)
 
constexpr bool uLang::CheckedI64Abs (int64_t Rhs, int64_t *OutResult)
 
constexpr bool uLang::CheckedConvertI32I64 (int64_t Rhs, int32_t *OutResult)
 
constexpr bool uLang::CheckedI64Add (int64_t Lhs, int64_t Rhs, int64_t *OutResult)
 
constexpr bool uLang::CheckedI64Subtract (int64_t Lhs, int64_t Rhs, int64_t *OutResult)
 
constexpr bool uLang::CheckedI64Multiply (int64_t Lhs, int64_t Rhs, int64_t *OutResult)
 
constexpr bool uLang::CheckedI64Divide (int64_t Lhs, int64_t Rhs, int64_t *OutResult)
 
constexpr bool uLang::CheckedI64Modulo (int64_t Lhs, int64_t Rhs, int64_t *OutResult)
 
constexpr bool uLang::IsFactor (int64_t Left, int64_t Right)
 
constexpr bool uLang::SameSign (int64_t Left, int64_t Right)
 
TOptional< int64_tuLang::CheckedI64DivideAndRoundUp (int64_t Left, int64_t Right)
 
TOptional< int64_tuLang::CheckedI64DivideAndRoundDown (int64_t Left, int64_t Right)
 

Variables

constexpr int32_t uLang::Int32Min = INT32_MIN
 
constexpr int32_t uLang::Int32Max = INT32_MAX
 
constexpr uint32_t uLang::Int32MaxMagnitude = ((uint32_t)(INT32_MAX))+1
 
constexpr uint32_t uLang::UInt32Max = UINT32_MAX
 
constexpr int64_t uLang::Int64Min = INT64_MIN
 
constexpr int64_t uLang::Int64Max = INT64_MAX
 
constexpr uint64_t uLang::Int64MaxMagnitude = ((uint64_t)(INT64_MAX))+1
 
constexpr uint64_t uLang::UInt64Max = UINT64_MAX
 
constexpr float uLang::Float32Min = FLT_MIN
 
constexpr float uLang::Float32Max = FLT_MAX
 
constexpr double uLang::Float64Min = DBL_MIN
 
constexpr double uLang::Float64Max = DBL_MAX