mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Val128 + operator
This commit is contained in:
parent
aa56542fae
commit
e6a9e03b62
1 changed files with 8 additions and 0 deletions
|
@ -62,6 +62,14 @@ public:
|
||||||
{
|
{
|
||||||
return StrFormat("%lX%lX", mHigh, mLow);
|
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)
|
static bool operator!=(const Val128& l, int rLow)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue