| 73 |
{ |
{ |
| 74 |
GINAC_DECLARE_REGISTERED_CLASS(numeric, basic) |
GINAC_DECLARE_REGISTERED_CLASS(numeric, basic) |
| 75 |
|
|
|
// friends |
|
|
// (none) |
|
|
|
|
| 76 |
// member functions |
// member functions |
| 77 |
|
|
|
// default constructor, destructor, copy constructor assignment |
|
|
// operator and helpers |
|
|
public: |
|
|
numeric(); |
|
|
~numeric(); |
|
|
numeric(const numeric & other); |
|
|
const numeric & operator=(const numeric & other); |
|
|
protected: |
|
|
void copy(const numeric & other); |
|
|
void destroy(bool call_parent); |
|
|
|
|
| 78 |
// other constructors |
// other constructors |
| 79 |
public: |
public: |
| 80 |
explicit numeric(int i); |
explicit numeric(int i); |
| 172 |
|
|
| 173 |
// global constants |
// global constants |
| 174 |
|
|
|
extern const numeric some_numeric; |
|
| 175 |
extern const numeric I; |
extern const numeric I; |
|
extern const std::type_info & typeid_numeric; |
|
| 176 |
extern _numeric_digits Digits; |
extern _numeric_digits Digits; |
| 177 |
|
|
| 178 |
//#define is_a_numeric_hash(x) ((x)==HASHVALUE_NUMERIC) |
//#define is_a_numeric_hash(x) ((x)==HASHVALUE_NUMERIC) |