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

Diff of /ginac/numeric.h

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

revision 1.5 by cbauer, Wed Nov 17 16:58:00 1999 UTC revision 1.6 by kreckel, Wed Nov 17 21:22:09 1999 UTC
# Line 170  public: Line 170  public:
170      numeric power_dyn(numeric const & other) const { return power(other); }      numeric power_dyn(numeric const & other) const { return power(other); }
171      */      */
172      numeric inverse(void) const;      numeric inverse(void) const;
173        int csgn(void) const;
174      int compare(numeric const & other) const;      int compare(numeric const & other) const;
175      bool is_equal(numeric const & other) const;      bool is_equal(numeric const & other) const;
176      bool is_zero(void) const;      bool is_zero(void) const;
# Line 266  struct numeric_fail Line 267  struct numeric_fail
267  inline numeric inverse(numeric const & x)  inline numeric inverse(numeric const & x)
268  { return x.inverse(); }  { return x.inverse(); }
269    
270    inline bool csgn(numeric const & x)
271    { return x.csgn(); }
272    
273  inline bool is_zero(numeric const & x)  inline bool is_zero(numeric const & x)
274  { return x.is_zero(); }  { return x.is_zero(); }
275    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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