From: Richard Kreckel Date: Tue, 23 Nov 1999 19:13:21 +0000 (+0000) Subject: - Deleted some legacy code. X-Git-Tag: release_0-5-0~136 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=commitdiff_plain;h=52b8a6451d4d5f32e45e3dbf93c22369fc2f99c2;p=ginac.git - Deleted some legacy code. - Clarified some comments. --- diff --git a/ginac/numeric.cpp b/ginac/numeric.cpp index c7d926a2..bb2762a2 100644 --- a/ginac/numeric.cpp +++ b/ginac/numeric.cpp @@ -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()) { diff --git a/ginac/numeric.h b/ginac/numeric.h index b1f48718..88b7d953 100644 --- a/ginac/numeric.h +++ b/ginac/numeric.h @@ -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);