~ubuntu-branches/debian/squeeze/maxima/squeeze

« back to all changes in this revision

Viewing changes to tests/rtest_zeta.mac

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2010-04-30 13:30:33 UTC
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20100430133033-wtewap0zdnmsix1y
Tags: upstream-5.21.1
ImportĀ upstreamĀ versionĀ 5.21.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
zeta(0.0b0);
26
26
-0.5b0$
27
27
 
28
 
zeta(1);
29
 
'infinity$  /* change to complex infinity */
30
 
 
31
 
zeta(1.0);
32
 
'infinity$
33
 
 
34
 
zeta(1.0b0);
35
 
'infinity$
 
28
errcatch(zeta(1)); /* zeta(1) is undefined */
 
29
[];
 
30
 
 
31
errcatch(zeta(1.0));
 
32
[];
 
33
 
 
34
errcatch(zeta(1.0b0));
 
35
[];
 
36
 
 
37
/* Check the limit */
 
38
limit(zeta(x),x,1,plus);
 
39
inf;
 
40
 
 
41
limit(zeta(x),x,1,minus);
 
42
minf;
 
43
 
 
44
limit(zeta(x),x,1);
 
45
infinity;
36
46
 
37
47
zeta(2);
38
48
%pi^2 /6$