|
yosys-master
|
#include <BigUnsigned.hh>
Inheritance diagram for BigUnsigned:
Collaboration diagram for BigUnsigned:Public Types | |
| enum | CmpRes { less = -1, equal = 0, greater = 1 } |
| typedef unsigned long | Blk |
| typedef NumberlikeArray< Blk > ::Index | Index |
Protected Member Functions | |
| BigUnsigned (int, Index c) | |
| void | zapLeadingZeros () |
| template<class X > | |
| void | initFromPrimitive (X x) |
| template<class X > | |
| void | initFromSignedPrimitive (X x) |
| template<class X > | |
| X | convertToSignedPrimitive () const |
| template<class X > | |
| X | convertToPrimitive () const |
| void | allocate (Index c) |
| void | allocateAndCopy (Index c) |
| Index | getCapacity () const |
| Index | getLength () const |
| bool | isEmpty () const |
| bool | operator== (const NumberlikeArray< unsigned long > &x) const |
| bool | operator!= (const NumberlikeArray< unsigned long > &x) const |
Protected Attributes | |
| Index | cap |
| Index | len |
| unsigned long * | blk |
Static Protected Attributes | |
| static const unsigned int | N |
Friends | |
| Blk | getShiftedBlock (const BigUnsigned &num, Index x, unsigned int y) |
| template<class X > | |
| X | convertBigUnsignedToPrimitiveAccess (const BigUnsigned &a) |
Definition at line 13 of file BigUnsigned.hh.
| typedef unsigned long BigUnsigned::Blk |
Definition at line 20 of file BigUnsigned.hh.
| typedef NumberlikeArray<Blk>::Index BigUnsigned::Index |
Definition at line 22 of file BigUnsigned.hh.
| enum BigUnsigned::CmpRes |
| Enumerator | |
|---|---|
| less | |
| equal | |
| greater | |
Definition at line 17 of file BigUnsigned.hh.
|
inlineprotected |
Definition at line 27 of file BigUnsigned.hh.
|
inline |
Definition at line 37 of file BigUnsigned.hh.
|
inline |
Definition at line 40 of file BigUnsigned.hh.
Definition at line 48 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 54 of file BigUnsigned.hh.
| BigUnsigned::BigUnsigned | ( | unsigned long | x | ) |
| BigUnsigned::BigUnsigned | ( | long | x | ) |
| BigUnsigned::BigUnsigned | ( | unsigned int | x | ) |
| BigUnsigned::BigUnsigned | ( | int | x | ) |
| BigUnsigned::BigUnsigned | ( | unsigned short | x | ) |
| BigUnsigned::BigUnsigned | ( | short | x | ) |
| void BigUnsigned::add | ( | const BigUnsigned & | a, |
| const BigUnsigned & | b | ||
| ) |
Definition at line 124 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inherited |
Here is the caller graph for this function:
|
inherited |
Here is the caller graph for this function:| void BigUnsigned::bitAnd | ( | const BigUnsigned & | a, |
| const BigUnsigned & | b | ||
| ) |
Definition at line 544 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| BigUnsigned::Index BigUnsigned::bitLength | ( | ) | const |
Definition at line 47 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| void BigUnsigned::bitOr | ( | const BigUnsigned & | a, |
| const BigUnsigned & | b | ||
| ) |
Definition at line 555 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| void BigUnsigned::bitShiftLeft | ( | const BigUnsigned & | a, |
| int | b | ||
| ) |
Definition at line 595 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| void BigUnsigned::bitShiftRight | ( | const BigUnsigned & | a, |
| int | b | ||
| ) |
Definition at line 621 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| void BigUnsigned::bitXor | ( | const BigUnsigned & | a, |
| const BigUnsigned & | b | ||
| ) |
Definition at line 575 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| BigUnsigned::CmpRes BigUnsigned::compareTo | ( | const BigUnsigned & | x | ) | const |
Definition at line 69 of file BigUnsigned.cc.
Here is the caller graph for this function:
|
protected |
Definition at line 387 of file BigUnsigned.hh.
Here is the caller graph for this function:
|
protected |
Definition at line 409 of file BigUnsigned.hh.
| void BigUnsigned::divideWithRemainder | ( | const BigUnsigned & | b, |
| BigUnsigned & | q | ||
| ) |
Definition at line 382 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 105 of file BigUnsigned.hh.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
Definition at line 72 of file NumberlikeArray.hh.
|
inlineinherited |
Definition at line 73 of file NumberlikeArray.hh.
|
protected |
|
protected |
Definition at line 373 of file BigUnsigned.hh.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
Definition at line 75 of file NumberlikeArray.hh.
|
inline |
Definition at line 97 of file BigUnsigned.hh.
Here is the call graph for this function:
Here is the caller graph for this function:| void BigUnsigned::multiply | ( | const BigUnsigned & | a, |
| const BigUnsigned & | b | ||
| ) |
Definition at line 300 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
Definition at line 82 of file NumberlikeArray.hh.
|
inline |
Definition at line 121 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 269 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 320 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 276 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 326 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 257 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 308 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 247 of file BigUnsigned.hh.
Here is the call graph for this function:| void BigUnsigned::operator++ | ( | ) |
Definition at line 659 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| void BigUnsigned::operator++ | ( | int | ) |
|
inline |
|
inline |
Definition at line 252 of file BigUnsigned.hh.
Here is the call graph for this function:| void BigUnsigned::operator-- | ( | ) |
| void BigUnsigned::operator-- | ( | int | ) |
|
inline |
Definition at line 305 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 262 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 311 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 124 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 291 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 335 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 125 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 43 of file BigUnsigned.hh.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inherited |
|
inline |
Definition at line 118 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 127 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 126 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 296 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 338 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 286 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 332 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 281 of file BigUnsigned.hh.
Here is the call graph for this function:
|
inline |
Definition at line 329 of file BigUnsigned.hh.
Here is the call graph for this function:| void BigUnsigned::setBit | ( | Index | bi, |
| bool | newBit | ||
| ) |
Definition at line 61 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 24 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| void BigUnsigned::subtract | ( | const BigUnsigned & | a, |
| const BigUnsigned & | b | ||
| ) |
Definition at line 184 of file BigUnsigned.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| int BigUnsigned::toInt | ( | ) | const |
Definition at line 19 of file BigUnsigned.cc.
| long BigUnsigned::toLong | ( | ) | const |
Definition at line 18 of file BigUnsigned.cc.
| short BigUnsigned::toShort | ( | ) | const |
Definition at line 20 of file BigUnsigned.cc.
| unsigned int BigUnsigned::toUnsignedInt | ( | ) | const |
Definition at line 16 of file BigUnsigned.cc.
| unsigned long BigUnsigned::toUnsignedLong | ( | ) | const |
Definition at line 15 of file BigUnsigned.cc.
| unsigned short BigUnsigned::toUnsignedShort | ( | ) | const |
|
inlineprotected |
|
friend |
Definition at line 88 of file BigInteger.cc.
|
friend |
Definition at line 293 of file BigUnsigned.cc.
|
inherited |
Definition at line 34 of file NumberlikeArray.hh.
|
inherited |
Definition at line 30 of file NumberlikeArray.hh.
|
inherited |
Definition at line 32 of file NumberlikeArray.hh.
|
staticinherited |
Definition at line 27 of file NumberlikeArray.hh.