- more logic on the trigonometric function stuff.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Mon, 20 Dec 1999 20:06:12 +0000 (20:06 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Mon, 20 Dec 1999 20:06:12 +0000 (20:06 +0000)
- changed several occurences of numeric const & to const numeric &, which
  is the same, but doxygen kept being confused because declarations
  differed from implementations.

check/inifcns_consist.cpp
check/series_expansion.cpp

index f48db0a..650d69b 100644 (file)
@@ -220,7 +220,7 @@ static unsigned inifcns_consist_psi(void)
 {
     unsigned result = 0;
     symbol x;
-    ex e;
+    ex e, f;
     
     // We check psi(1) and psi(1/2) implicitly by calculating the curious
     // little identity gamma(1)'/gamma(1) - gamma(1/2)'/gamma(1/2) == 2*log(2).
index b8e8020..5660e70 100644 (file)
@@ -137,6 +137,7 @@ static unsigned series4(void)
     unsigned result = 0;
     ex e, d;
     
+    // gamma(-1):
     e = gamma(2*x);
     d = pow(x+1,-1)*numeric(1,4) +
         pow(x+1,0)*(numeric(3,4) -
@@ -165,6 +166,7 @@ static unsigned series4(void)
         Order(pow(x+1,4));
     result += check_series(e, -1, d, 4);
     
+    // tan(Pi/2)
     e = tan(x*Pi/2);
     d = pow(x-1,-1)/Pi*(-2) +
         pow(x-1,1)*Pi/6 +