]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.h
Make step(0)=1/2 again and remove step_power.
[ginac.git] / ginac / numeric.h
index 2cf93480cf9eb16fb812cc4403882f526c20f33b..f0e3362f8965aec7bcd5aaf199e6d65f1f3362d7 100644 (file)
@@ -148,7 +148,7 @@ public:
        const numeric & operator=(double d);
        const numeric & operator=(const char *s);
        const numeric inverse() const;
-       int step() const;
+       numeric step() const;
        int csgn() const;
        int compare(const numeric &other) const;
        bool is_equal(const numeric &other) const;
@@ -251,7 +251,7 @@ inline const numeric pow(const numeric &x, const numeric &y)
 inline const numeric inverse(const numeric &x)
 { return x.inverse(); }
 
-inline int step(const numeric &x)
+inline numeric step(const numeric &x)
 { return x.step(); }
 
 inline int csgn(const numeric &x)