cast_to_uint64_t#

Fully qualified name: carb::math::cast_to_uint64_t

Defined in carb/math/Int128.h

inline uint64_t carb::math::cast_to_uint64_t(
const uint128_t &val,
) noexcept#

Truncates the unsigned 128-bit value, returning only the lowest 64-bits.

Parameters:

val – The signed 128-bit value to truncate.

Returns:

The least significant 64 bits of val.