1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Val128 + operator

This commit is contained in:
Brian Fiete 2021-11-29 08:39:06 -08:00
parent aa56542fae
commit e6a9e03b62

View file

@ -62,6 +62,14 @@ public:
{
return StrFormat("%lX%lX", mHigh, mLow);
}
Val128 operator+(int rLow)
{
Val128 result;
result.mLow += mLow + rLow;
result.mHigh = mHigh;
return result;
}
};
static bool operator!=(const Val128& l, int rLow)