Lines Matching refs:Blk
26 typedef unsigned long Blk; typedef in BigUnsigned
28 typedef NumberlikeArray<Blk>::Index Index;
29 using NumberlikeArray<Blk>::N;
33 BigUnsigned(int, Index c) : NumberlikeArray<Blk>(0, c) {} in BigUnsigned()
43 BigUnsigned() : NumberlikeArray<Blk>() {} in BigUnsigned()
46 BigUnsigned(const BigUnsigned &x) : NumberlikeArray<Blk>(x) {} in BigUnsigned()
50 NumberlikeArray<Blk>::operator =(x); in operator =()
54 BigUnsigned(const Blk *b, Index blen) : NumberlikeArray<Blk>(b, blen) { in BigUnsigned()
93 using NumberlikeArray<Blk>::getCapacity;
94 using NumberlikeArray<Blk>::getLength;
98 Blk getBlock(Index i) const { return i >= len ? 0 : blk[i]; } in getBlock()
100 void setBlock(Index i, Blk newBlock);
103 bool isZero() const { return NumberlikeArray<Blk>::isEmpty(); } in isZero()
112 return (getBlock(bi / N) & (Blk(1) << (bi % N))) != 0; in getBit()
125 return NumberlikeArray<Blk>::operator ==(x); in operator ==()
128 return NumberlikeArray<Blk>::operator !=(x); in operator !=()
241 friend Blk getShiftedBlock(const BigUnsigned &num, Index x,
372 blk = new Blk[1]; in initFromPrimitive()
374 blk[0] = Blk(x); in initFromPrimitive()
404 if (Blk(x) == blk[0]) in convertToPrimitive()