5#include <MRPch/MRBindingMacros.h>
8#if defined _MSC_VER && !defined __clang__
25 constexpr
Int64Mul128( std::int64_t v ) noexcept : v_( v ) { }
26 [[nodiscard]]
constexpr explicit operator std::int64_t() const noexcept {
return v_; }
37#if defined _MSC_VER && !defined __clang__ && defined _M_X64
39 const auto lo = _mul128( a.v_, b.v_, &hi );
40 return FastInt128( std::uint64_t( lo ), std::uint64_t( hi ) );
41#elif defined _MSC_VER && !defined __clang__ && defined _M_ARM64
42 const auto hi = __mulh( a.v_, b.v_ );
43 return FastInt128( std::uint64_t( a.v_ ) * std::uint64_t( b.v_ ), std::uint64_t( hi ) );
58#if !defined MR_PARSING_FOR_ANY_BINDINGS && !defined MR_COMPILING_ANY_BINDINGS
constexpr bool operator==(ImVec2 a, ImVec2 b)
Definition MRImGuiVectorOperators.h:117
constexpr A operator-(A a)
Definition MRImGuiVectorOperators.h:98
constexpr A operator+(A a)
Operators.
Definition MRImGuiVectorOperators.h:97
constexpr auto operator*(A a, B b)
Definition MRImGuiVectorOperators.h:107
constexpr auto operator/(A a, B b)
Definition MRImGuiVectorOperators.h:110
Int64Mul128() noexcept=default
Vector2< Int64Mul128 > Vector2i64mul
no bindings for the same reason as for Vector3i128fast
Definition MRInt64Mul128.h:59
Vector3< Int64Mul128 > Vector3i64mul
Definition MRInt64Mul128.h:60
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8
__int128_t FastInt128
Definition MRFastInt128.h:22
Definition MRVector2.h:29
Definition MRVector3.h:33