]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.h
- Patches needed for cygwin.
[ginac.git] / ginac / numeric.h
index 51ee5e8f9b6a8c5d67f473962292b74dbafb2b86..7fb9d9d77ecd8dba4e0a4ef4ebe20485d5908dcb 100644 (file)
@@ -199,7 +199,7 @@ public:
 
 protected:
     static unsigned precedence;
-    cl_N *value;
+    ::cl_N *value;
 };
 
 // global constants
@@ -256,13 +256,6 @@ numeric isqrt(const numeric & x);
 numeric gcd(const numeric & a, const numeric & b);
 numeric lcm(const numeric & a, const numeric & b);
 
-/** Exception thrown by numeric members to signal failure */
-struct numeric_fail
-{
-    int failval;
-    numeric_fail(int n) { failval = n; }
-};
-
 // wrapper functions around member functions
 inline numeric pow(const numeric & x, const numeric & y)
 { return x.power(y); }