We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f4fad0 + 4136d50 commit c7b75afCopy full SHA for c7b75af
src/big-int/bigint.hh
@@ -242,6 +242,7 @@ public:
242
BigInt &operator/= (llong_t) _fast;
243
BigInt &operator%= (llong_t) _fast;
244
245
+ BigInt &operator= (unsigned long x) { return (*this)=(ullong_t)x; }
246
BigInt &operator+= (unsigned long x) { return (*this)+=(ullong_t)x; }
247
BigInt &operator-= (unsigned long x) { return (*this)-=(ullong_t)x; }
248
BigInt &operator*= (unsigned long x) { return (*this)*=(ullong_t)x; }
0 commit comments