- changed several occurences of numeric const & to const numeric &, which
is the same, but doxygen kept being confused because declarations
differed from implementations.
{
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).
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) -
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 +