]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.h
- deleted add::printpair() since this has become obsolete
[ginac.git] / ginac / numeric.h
index a460d09989bf5db363c923da2bf6c85ff9718923..fce1f196c0fc34896386e1e77b056ada390c6908 100644 (file)
@@ -170,6 +170,7 @@ public:
     numeric power_dyn(numeric const & other) const { return power(other); }
     */
     numeric inverse(void) const;
+    int csgn(void) const;
     int compare(numeric const & other) const;
     bool is_equal(numeric const & other) const;
     bool is_zero(void) const;
@@ -266,6 +267,9 @@ struct numeric_fail
 inline numeric inverse(numeric const & x)
 { return x.inverse(); }
 
+inline bool csgn(numeric const & x)
+{ return x.csgn(); }
+
 inline bool is_zero(numeric const & x)
 { return x.is_zero(); }