]> www.ginac.de Git - ginac.git/commitdiff
- Deleted some legacy code.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Tue, 23 Nov 1999 19:13:21 +0000 (19:13 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Tue, 23 Nov 1999 19:13:21 +0000 (19:13 +0000)
- Clarified some comments.

ginac/numeric.cpp
ginac/numeric.h

index c7d926a2d9e580feeb3246d02e8001989994713f..bb2762a2e0cbfa58996689800f6aa077b0bd6579 100644 (file)
@@ -753,7 +753,8 @@ inline cl_heap_ratio* TheRatio (const cl_N& obj)
 
 /** Numerator.  Computes the numerator of rational numbers, rationalized
  *  numerator of complex if real and imaginary part are both rational numbers
- *  (i.e numer(4/3+5/6*I) == 8+5*I), the number itself in all other cases. */
+ *  (i.e numer(4/3+5/6*I) == 8+5*I), the number carrying the sign in all other
+ *  cases. */
 numeric numeric::numer(void) const
 {
     if (is_integer()) {
index b1f4871805b5d02d7f4d64dec61dc51d4d933e1a..88b7d9537c91f63600c1ddb3cd9c154b974456ff 100644 (file)
@@ -316,14 +316,6 @@ inline numeric numer(numeric const & x)
 inline numeric denom(numeric const & x)
 { return x.denom(); }
 
-/* do we need this any more? */
-//inline numeric factorial(int n)
-//{ return factorial(numeric(n)); }
-
-/* do we need this any more? */
-//inline numeric binomial(int n, int k)
-//{ return binomial(numeric(n), numeric(k)); }
-
 ex IEvalf(void);
 ex PiEvalf(void);
 ex EulerGammaEvalf(void);