/[GiNaC]/ginac/numeric.h
ViewVC logotype

Diff of /ginac/numeric.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25 by kreckel, Tue Feb 15 20:17:57 2000 UTC revision 1.26 by frink, Mon Feb 21 20:11:42 2000 UTC
# Line 138  protected: Line 138  protected:
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)
# Line 210  extern const numeric I; Line 207  extern const numeric I;
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);

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15