| 138 |
ex derivative(const symbol & s) const; |
ex derivative(const symbol & s) const; |
| 139 |
int compare_same_type(const basic & other) const; |
int compare_same_type(const basic & other) const; |
| 140 |
bool is_equal_same_type(const basic & other) const; |
bool is_equal_same_type(const basic & other) const; |
| 141 |
unsigned calchash(void) const { |
unsigned calchash(void) const; |
|
hashvalue=HASHVALUE_NUMERIC; |
|
|
return HASHVALUE_NUMERIC; |
|
|
} |
|
| 142 |
|
|
| 143 |
// new virtual functions which can be overridden by derived classes |
// new virtual functions which can be overridden by derived classes |
| 144 |
// (none) |
// (none) |
| 207 |
extern const type_info & typeid_numeric; |
extern const type_info & typeid_numeric; |
| 208 |
extern _numeric_digits Digits; |
extern _numeric_digits Digits; |
| 209 |
|
|
| 210 |
#define is_a_numeric_hash(x) ((x)==HASHVALUE_NUMERIC) |
//#define is_a_numeric_hash(x) ((x)==HASHVALUE_NUMERIC) |
| 211 |
// may have to be changed to ((x)>=0x80000000U) |
// may have to be changed to ((x)>=0x80000000U) |
| 212 |
|
|
| 213 |
|
// has been changed |
| 214 |
|
//#define is_a_numeric_hash(x) ((x)&0x80000000U) |
| 215 |
|
|
| 216 |
// global functions |
// global functions |
| 217 |
|
|
| 218 |
const numeric exp(const numeric & x); |
const numeric exp(const numeric & x); |