From 52b8a6451d4d5f32e45e3dbf93c22369fc2f99c2 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Tue, 23 Nov 1999 19:13:21 +0000 Subject: [PATCH] - Deleted some legacy code. - Clarified some comments. --- ginac/numeric.cpp | 3 ++- ginac/numeric.h | 8 -------- 2 files changed, 2 insertions(+), 9 deletions(-) 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); -- 2.44.0