Lines Matching refs:BigUnsigned
14 BigUnsigned::BigUnsigned(unsigned long x) { initFromPrimitive (x); } in BigUnsigned() function in BigUnsigned
15 BigUnsigned::BigUnsigned(unsigned int x) { initFromPrimitive (x); } in BigUnsigned() function in BigUnsigned
16 BigUnsigned::BigUnsigned(unsigned short x) { initFromPrimitive (x); } in BigUnsigned() function in BigUnsigned
17 BigUnsigned::BigUnsigned( long x) { initFromSignedPrimitive(x); } in BigUnsigned() function in BigUnsigned
18 BigUnsigned::BigUnsigned( int x) { initFromSignedPrimitive(x); } in BigUnsigned() function in BigUnsigned
19 BigUnsigned::BigUnsigned( short x) { initFromSignedPrimitive(x); } in BigUnsigned() function in BigUnsigned
21 unsigned long BigUnsigned::toUnsignedLong () const { return convertToPrimitive <unsigned long… in toUnsignedLong()
22 unsigned int BigUnsigned::toUnsignedInt () const { return convertToPrimitive <unsigned int … in toUnsignedInt()
23 unsigned short BigUnsigned::toUnsignedShort() const { return convertToPrimitive <unsigned shor… in toUnsignedShort()
24 long BigUnsigned::toLong () const { return convertToSignedPrimitive< long… in toLong()
25 int BigUnsigned::toInt () const { return convertToSignedPrimitive< int … in toInt()
26 short BigUnsigned::toShort () const { return convertToSignedPrimitive< shor… in toShort()
30 void BigUnsigned::setBlock(Index i, Blk newBlock) { in setBlock()
53 BigUnsigned::Index BigUnsigned::bitLength() const { in bitLength()
67 void BigUnsigned::setBit(Index bi, bool newBit) { in setBit()
75 BigUnsigned::CmpRes BigUnsigned::compareTo(const BigUnsigned &x) const { in compareTo()
122 BigUnsigned tmpThis; \
130 void BigUnsigned::add(const BigUnsigned &a, const BigUnsigned &b) { in add()
146 const BigUnsigned *a2, *b2; in add()
190 void BigUnsigned::subtract(const BigUnsigned &a, const BigUnsigned &b) { in subtract()
298 inline BigUnsigned::Blk getShiftedBlock(const BigUnsigned &num, in getShiftedBlock()
299 BigUnsigned::Index x, unsigned int y) { in getShiftedBlock()
300 BigUnsigned::Blk part1 = (x == 0 || y == 0) ? 0 : (num.blk[x - 1] >> (BigUnsigned::N - y)); in getShiftedBlock()
301 BigUnsigned::Blk part2 = (x == num.len) ? 0 : (num.blk[x] << y); in getShiftedBlock()
305 void BigUnsigned::multiply(const BigUnsigned &a, const BigUnsigned &b) { in multiply()
387 void BigUnsigned::divideWithRemainder(const BigUnsigned &b, BigUnsigned &q) { in divideWithRemainder()
398 BigUnsigned tmpB(b); in divideWithRemainder()
549 void BigUnsigned::bitAnd(const BigUnsigned &a, const BigUnsigned &b) { in bitAnd()
560 void BigUnsigned::bitOr(const BigUnsigned &a, const BigUnsigned &b) { in bitOr()
563 const BigUnsigned *a2, *b2; in bitOr()
580 void BigUnsigned::bitXor(const BigUnsigned &a, const BigUnsigned &b) { in bitXor()
583 const BigUnsigned *a2, *b2; in bitXor()
600 void BigUnsigned::bitShiftLeft(const BigUnsigned &a, int b) { in bitShiftLeft()
625 void BigUnsigned::bitShiftRight(const BigUnsigned &a, int b) { in bitShiftRight()
662 void BigUnsigned::operator ++() { in operator ++()
678 void BigUnsigned::operator ++(int) { in operator ++()
683 void BigUnsigned::operator --() { in operator --()
698 void BigUnsigned::operator --(int) { in operator --()