Navigation
API > API/Runtime > API/Runtime/uLangCore
Description
Todo: implement the rest of the types (int32_t, int16_t, ...), and then also provide platform specific optimized versions of this. in particular, platforms that use the Clang and GCC compilers have intrinsics available such as '__builtin_add_overflow' that will perform the operation and return whether or not overflow happened, which should yield more optimal code.
| Name | uLang::CheckedI64Negate |
| Type | function |
| Header File | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Misc/Arithmetic.h |
| Include Path | #include "uLang/Common/Misc/Arithmetic.h" |
namespace uLang
{
bool uLang::CheckedI64Negate
(
int64_t Rhs,
int64_t * OutResult
)
}