3 # $RCSfile: complex.t,v $
5 # Regression tests for the Math::Complex pacakge
6 # -- Raphael Manfredi since Sep 1996
7 # -- Jarkko Hietaniemi since Mar 1997
8 # -- Daniel S. Lewart since Sep 1997
12 unshift @INC, '../lib';
17 my $VERSION = sprintf("%s", q$Id: complex.t,v 1.9 1998/11/01 00:00:00 dsl Exp $ =~ /(\d+\.d+)/);
19 my ($args, $op, $target, $test, $test_set, $try, $val, $zvalue, @set, @val);
24 'my ($res, $s0,$s1,$s2,$s3,$s4,$s5,$s6,$s7,$s8,$s9,$s10, $z0,$z1,$z2);' .
29 if ($^O eq 'unicos') { # For some reason root() produces very inaccurate
30 $eps = 1e-11; # results in Cray UNICOS, and occasionally also
31 } # cos(), sin(), cosh(), sinh(). The division
32 # of doubles is the current suspect.
36 next if $_ eq '' || /^\#/;
38 $test_set = 0; # Assume not a test over a set of values
44 set($1, \@set, \@val);
48 $test_set = 1; # Requests we loop over the set...
50 my @args = split(/:/);
53 for ($i = 0; $i < @set; $i++) {
56 # textual value as found in set definition
58 test($zvalue, $target, @args);
61 test($op, undef, @args);
71 push(@script, <<'EOT');
76 print "# $test Re(z) = ",$z->Re(), " Im(z) = ", $z->Im(), " z = $z\n";
77 print 'not ' unless Re($z) == 2 and Im($z) == 3;
79 push(@script, qq(print "ok $test\\n"}\n));
82 push(@script, <<'EOT');
86 print "# $test Re(z) = ",$z->Re(), " Im(z) = ", $z->Im(), " z = $z\n";
87 print 'not ' unless (abs($z) - 3 * sqrt(2)) < $eps and
88 (arg($z) - pi / 4 ) < $eps and
89 (Re($z) - 3 ) < $eps and
92 push(@script, qq(print "ok $test\\n"}\n));
95 push(@script, <<'EOT');
99 print "# $test Re(z) = ",$z->Re(), " Im(z) = ", $z->Im(), " z = $z\n";
100 print 'not ' unless (arg($z) + 3 / 4 * pi) < $eps and
101 (abs($z) - sqrt(2) ) < $eps and
102 (Re($z) + 1 ) < $eps and
103 (Im($z) + 1 ) < $eps;
105 push(@script, qq(print "ok $test\\n"}\n));
112 my $pi = cplx(pi, 0);
113 my $pii = cplx(0, pi);
114 my $pip2 = cplx(pi/2, 0);
115 my $zero = cplx(0, 0);
118 push(@script, $constants);
121 # test the divbyzeros
126 push(@script, <<EOT);
128 (\$bad) = (\$@ =~ /(.+)/);
129 print "# $test op = $op divbyzero? \$bad...\n";
130 print 'not ' unless (\$@ =~ /Division by zero/);
132 push(@script, qq(print "ok $test\\n";\n));
136 # test the logofzeros
141 push(@script, <<EOT);
143 (\$bad) = (\$@ =~ /(.+)/);
144 print "# $test op = $op logofzero? \$bad...\n";
145 print 'not ' unless (\$@ =~ /Logarithm of zero/);
147 push(@script, qq(print "ok $test\\n";\n));
155 # 'acoth(-1)', # Log of zero.
164 # 'atanh(-1)', # Log of zero.
186 push(@script, <<EOT);
188 (\$bad) = (\$@ =~ /(.+)/);
189 print "# $test op = $op badroot? \$bad...\n";
190 print 'not ' unless (\$@ =~ /root must be/);
192 push(@script, qq(print "ok $test\\n";\n));
196 test_broot(qw(-3 -2.1 0 0.99));
198 sub test_display_format {
200 my \$j = (root(1,3))[1];
202 \$j->display_format('polar');
207 print "# display_format polar?\n";
208 print "not " unless \$j->display_format eq 'polar';
215 print "not " unless "\$j" eq "[1,2pi/3]";
220 %display_format = \$j->display_format;
225 print "# display_format{style} polar?\n";
226 print "not " unless \$display_format{style} eq 'polar';
232 print "# keys %display_format == 2?\n";
233 print "not " unless keys %display_format == 2;
236 \$j->display_format('style' => 'cartesian', 'format' => '%.5f');
242 print "not " unless "\$j" eq "-0.50000+0.86603i";
245 %display_format = \$j->display_format;
250 print "# display_format{format} %.5f?\n";
251 print "not " unless \$display_format{format} eq '%.5f';
257 print "# keys %display_format == 3?\n";
258 print "not " unless keys %display_format == 3;
261 \$j->display_format('format' => undef);
266 my \$dj = "\$j"; \$dj =~ s/(\\d{14})\\d+i/\$1i/;
267 print "# j = \$dj (truncated for display)\n";
268 print "not " unless \$dj eq "-0.5+0.86602540378443i";
271 \$j->display_format('style' => 'polar', 'polar_pretty_print' => 0);
276 my \$dj = "\$j"; \$dj =~ s/(\\d{12})\\d+\]/\$1]/;
277 print "# j = \$dj (truncated for display)\n";
278 print "not " unless \$dj eq "[1,2.094395102393]";
281 \$j->display_format('style' => 'cartesian', 'format' => '(%.5g)');
286 print "not " unless "\$j" eq "(-0.5)+(0.86603)i";
291 test_display_format();
294 eval join '', @script;
300 push(@script, qq(print "# $op=\n";));
304 my ($op, $z, @args) = @_;
308 $baop = 1 if ($op =~ s/;=$//);
309 for ($i = 0; $i < @args; $i++) {
310 $val = value($args[$i]);
311 push @script, "\$z$i = $val;\n";
314 $args = "'$op'"; # Really the value
315 $try = "abs(\$z0 - \$z1) <= $eps ? \$z1 : \$z0";
316 push @script, "\$res = $try; ";
317 push @script, "check($test, $args[0], \$res, \$z$#args, $args);\n";
322 $args = "'$args[0]'";
324 $try = ($op =~ /^\w/) ? "$op(\$z0, \$z1)" : "\$z0 $op \$z1";
325 $args = "'$args[0]', '$args[1]'";
327 push @script, "\$res = $try; ";
328 push @script, "check($test, '$try', \$res, \$z$#args, $args);\n";
329 if (@args > 2 and $baop) { # binary assignment ops
331 # check the op= works
334 my \$za = cplx(ref \$z0 ? \@{\$z0->cartesian} : (\$z0, 0));
336 my (\$z1r, \$z1i) = ref \$z1 ? \@{\$z1->cartesian} : (\$z1, 0);
338 my \$zb = cplx(\$z1r, \$z1i);
341 my (\$zbr, \$zbi) = \@{\$zb->cartesian};
343 check($test, '\$z0 $op= \$z1', \$za, \$z$#args, $args);
346 # check that the rhs has not changed
347 push @script, qq(print "not " unless (\$zbr == \$z1r and \$zbi == \$z1i););
348 push @script, qq(print "ok $test\\n";\n);
355 my ($set, $setref, $valref) = @_;
358 my @set = split(/;\s*/, $set);
361 for ($i = 0; $i < @set; $i++) {
362 push(@{$valref}, $set[$i]);
363 my $val = value($set[$i]);
364 push @script, "\$s$i = $val;\n";
365 push @{$setref}, "\$s$i";
371 if (/^\s*\((.*),(.*)\)/) {
372 return "cplx($1,$2)";
374 elsif (/^\s*([\-\+]?(?:\d+(\.\d+)?|\.\d+)(?:[e[\-\+]\d+])?)/) {
377 elsif (/^\s*\[(.*),(.*)\]/) {
378 return "cplxe($1,$2)";
380 elsif (/^\s*'(.*)'/) {
382 $ex =~ s/\bz\b/$target/g;
383 $ex =~ s/\br\b/abs($target)/g;
384 $ex =~ s/\bt\b/arg($target)/g;
385 $ex =~ s/\ba\b/Re($target)/g;
386 $ex =~ s/\bb\b/Im($target)/g;
389 elsif (/^\s*"(.*)"/) {
396 my ($test, $try, $got, $expected, @z) = @_;
400 if ("$got" eq "$expected"
402 ($expected =~ /^-?\d/ && $got == $expected)
404 (abs($got - $expected) < $eps)
408 print "not ok $test\n";
409 my $args = (@z == 1) ? "z = $z[0]" : "z0 = $z[0], z1 = $z[1]";
410 print "# '$try' expected: '$expected' got: '$got' for $args\n";
416 return ($z1 + i*$z2) * ($z1 - i*$z2);
421 return ($z1 + $z2) * ($z1 - $z2);
451 [2,2*pi/3]:(1,0):[2,2*pi/3]
463 [4,pi]:[2,pi/2]:[2,pi/2]
464 [2,pi/2]:[4,pi]:[0.5,-(pi)/2]
469 (2,3):(4,0):(-119,-120)
531 [6, -2*pi/3]:"[6,-2pi/3]"
532 [0.5, -9*pi/11]:"[0.5,-9pi/11]"
534 { (4,3); [3,2]; (-3,4); (0,2); [2,1] }
537 |'z - ~z':'2*i*Im(z)'
538 |'z * ~z':'abs(z) * abs(z)'
540 { (0.5, 0); (-0.5, 0); (2,3); [3,2]; (-3,2); (0,2); 3; 1.2; (-3, 0); (-2, -1); [2,1] }
542 |'(root(z, 4))[1] ** 4':'z'
543 |'(root(z, 5))[3] ** 5':'z'
544 |'(root(z, 8))[7] ** 8':'z'
546 |'acot(z)':'acotan(z)'
547 |'acsc(z)':'acosec(z)'
548 |'acsc(z)':'asin(1 / z)'
549 |'asec(z)':'acos(1 / z)'
550 |'cbrt(z)':'cbrt(r) * exp(i * t/3)'
552 |'addsq(cos(z), sin(z))':1
553 |'cos(z)':'cosh(i*z)'
554 |'subsq(cosh(z), sinh(z))':1
556 |'cot(z)':'1 / tan(z)'
559 |'csc(z)':'1 / sin(z)'
562 |'exp(z)':'exp(a) * exp(i * b)'
565 |'log(z)':'log(r) + i*t'
566 |'log10(z)':'log(z) / log(10)'
567 |'logn(z, 2)':'log(z) / log(2)'
568 |'logn(z, 3)':'log(z) / log(3)'
570 |'sec(z)':'1 / cos(z)'
572 |'sin(i * z)':'i * sinh(z)'
573 |'sqrt(z) * sqrt(z)':'z'
574 |'sqrt(z)':'sqrt(r) * exp(i * t/2)'
576 |'z**z':'exp(z * log(z))'
578 { (1,1); [1,0.5]; (-2, -1); 2; -3; (-1,0.5); (0,0.5); 0.5; (2, 0); (-1, -2) }
580 |'cosh(acosh(z))':'z'
581 |'coth(acoth(z))':'z'
582 |'coth(z)':'1 / tanh(z)'
583 |'coth(z)':'cotanh(z)'
584 |'csch(acsch(z))':'z'
585 |'csch(z)':'1 / sinh(z)'
586 |'csch(z)':'cosech(z)'
587 |'sech(asech(z))':'z'
588 |'sech(z)':'1 / cosh(z)'
589 |'sinh(asinh(z))':'z'
590 |'tanh(atanh(z))':'z'
592 { (0.2,-0.4); [1,0.5]; -1.2; (-1,0.5); 0.5; (1.1, 0) }
594 |'acos(cos(z)) ** 2':'z * z'
595 |'acosh(cosh(z)) ** 2':'z * z'
596 |'acoth(z)':'acotanh(z)'
597 |'acoth(z)':'atanh(1 / z)'
598 |'acsch(z)':'acosech(z)'
599 |'acsch(z)':'asinh(1 / z)'
600 |'asech(z)':'acosh(1 / z)'
602 |'asinh(sinh(z))':'z'
604 |'atanh(tanh(z))':'z'
607 (-2.0,0):( 0.69314718055995, 3.14159265358979)
608 (-1.0,0):( 0 , 3.14159265358979)
609 (-0.5,0):( -0.69314718055995, 3.14159265358979)
610 ( 0.5,0):( -0.69314718055995, 0 )
612 ( 2.0,0):( 0.69314718055995, 0 )
615 ( 2, 3):( 1.28247467873077, 0.98279372324733)
616 (-2, 3):( 1.28247467873077, 2.15879893034246)
617 (-2,-3):( 1.28247467873077, -2.15879893034246)
618 ( 2,-3):( 1.28247467873077, -0.98279372324733)
621 (-2.0,0):( -0.90929742682568, 0 )
622 (-1.0,0):( -0.84147098480790, 0 )
623 (-0.5,0):( -0.47942553860420, 0 )
625 ( 0.5,0):( 0.47942553860420, 0 )
626 ( 1.0,0):( 0.84147098480790, 0 )
627 ( 2.0,0):( 0.90929742682568, 0 )
630 ( 2, 3):( 9.15449914691143, -4.16890695996656)
631 (-2, 3):( -9.15449914691143, -4.16890695996656)
632 (-2,-3):( -9.15449914691143, 4.16890695996656)
633 ( 2,-3):( 9.15449914691143, 4.16890695996656)
636 (-2.0,0):( -0.41614683654714, 0 )
637 (-1.0,0):( 0.54030230586814, 0 )
638 (-0.5,0):( 0.87758256189037, 0 )
640 ( 0.5,0):( 0.87758256189037, 0 )
641 ( 1.0,0):( 0.54030230586814, 0 )
642 ( 2.0,0):( -0.41614683654714, 0 )
645 ( 2, 3):( -4.18962569096881, -9.10922789375534)
646 (-2, 3):( -4.18962569096881, 9.10922789375534)
647 (-2,-3):( -4.18962569096881, -9.10922789375534)
648 ( 2,-3):( -4.18962569096881, 9.10922789375534)
651 (-2.0,0):( 2.18503986326152, 0 )
652 (-1.0,0):( -1.55740772465490, 0 )
653 (-0.5,0):( -0.54630248984379, 0 )
655 ( 0.5,0):( 0.54630248984379, 0 )
656 ( 1.0,0):( 1.55740772465490, 0 )
657 ( 2.0,0):( -2.18503986326152, 0 )
660 ( 2, 3):( -0.00376402564150, 1.00323862735361)
661 (-2, 3):( 0.00376402564150, 1.00323862735361)
662 (-2,-3):( 0.00376402564150, -1.00323862735361)
663 ( 2,-3):( -0.00376402564150, -1.00323862735361)
666 (-2.0,0):( -2.40299796172238, 0 )
667 (-1.0,0):( 1.85081571768093, 0 )
668 (-0.5,0):( 1.13949392732455, 0 )
670 ( 0.5,0):( 1.13949392732455, 0 )
671 ( 1.0,0):( 1.85081571768093, 0 )
672 ( 2.0,0):( -2.40299796172238, 0 )
675 ( 2, 3):( -0.04167496441114, 0.09061113719624)
676 (-2, 3):( -0.04167496441114, -0.09061113719624)
677 (-2,-3):( -0.04167496441114, 0.09061113719624)
678 ( 2,-3):( -0.04167496441114, -0.09061113719624)
681 (-2.0,0):( -1.09975017029462, 0 )
682 (-1.0,0):( -1.18839510577812, 0 )
683 (-0.5,0):( -2.08582964293349, 0 )
684 ( 0.5,0):( 2.08582964293349, 0 )
685 ( 1.0,0):( 1.18839510577812, 0 )
686 ( 2.0,0):( 1.09975017029462, 0 )
689 ( 2, 3):( 0.09047320975321, 0.04120098628857)
690 (-2, 3):( -0.09047320975321, 0.04120098628857)
691 (-2,-3):( -0.09047320975321, -0.04120098628857)
692 ( 2,-3):( 0.09047320975321, -0.04120098628857)
695 (-2.0,0):( 0.45765755436029, 0 )
696 (-1.0,0):( -0.64209261593433, 0 )
697 (-0.5,0):( -1.83048772171245, 0 )
698 ( 0.5,0):( 1.83048772171245, 0 )
699 ( 1.0,0):( 0.64209261593433, 0 )
700 ( 2.0,0):( -0.45765755436029, 0 )
703 ( 2, 3):( -0.00373971037634, -0.99675779656936)
704 (-2, 3):( 0.00373971037634, -0.99675779656936)
705 (-2,-3):( 0.00373971037634, 0.99675779656936)
706 ( 2,-3):( -0.00373971037634, 0.99675779656936)
709 (-2.0,0):( -1.57079632679490, 1.31695789692482)
710 (-1.0,0):( -1.57079632679490, 0 )
711 (-0.5,0):( -0.52359877559830, 0 )
713 ( 0.5,0):( 0.52359877559830, 0 )
714 ( 1.0,0):( 1.57079632679490, 0 )
715 ( 2.0,0):( 1.57079632679490, -1.31695789692482)
718 ( 2, 3):( 0.57065278432110, 1.98338702991654)
719 (-2, 3):( -0.57065278432110, 1.98338702991654)
720 (-2,-3):( -0.57065278432110, -1.98338702991654)
721 ( 2,-3):( 0.57065278432110, -1.98338702991654)
724 (-2.0,0):( 3.14159265358979, -1.31695789692482)
725 (-1.0,0):( 3.14159265358979, 0 )
726 (-0.5,0):( 2.09439510239320, 0 )
727 ( 0.0,0):( 1.57079632679490, 0 )
728 ( 0.5,0):( 1.04719755119660, 0 )
730 ( 2.0,0):( 0 , 1.31695789692482)
733 ( 2, 3):( 1.00014354247380, -1.98338702991654)
734 (-2, 3):( 2.14144911111600, -1.98338702991654)
735 (-2,-3):( 2.14144911111600, 1.98338702991654)
736 ( 2,-3):( 1.00014354247380, 1.98338702991654)
739 (-2.0,0):( -1.10714871779409, 0 )
740 (-1.0,0):( -0.78539816339745, 0 )
741 (-0.5,0):( -0.46364760900081, 0 )
743 ( 0.5,0):( 0.46364760900081, 0 )
744 ( 1.0,0):( 0.78539816339745, 0 )
745 ( 2.0,0):( 1.10714871779409, 0 )
748 ( 2, 3):( 1.40992104959658, 0.22907268296854)
749 (-2, 3):( -1.40992104959658, 0.22907268296854)
750 (-2,-3):( -1.40992104959658, -0.22907268296854)
751 ( 2,-3):( 1.40992104959658, -0.22907268296854)
754 (-2.0,0):( 2.09439510239320, 0 )
755 (-1.0,0):( 3.14159265358979, 0 )
756 (-0.5,0):( 3.14159265358979, -1.31695789692482)
757 ( 0.5,0):( 0 , 1.31695789692482)
759 ( 2.0,0):( 1.04719755119660, 0 )
762 ( 2, 3):( 1.42041072246703, 0.23133469857397)
763 (-2, 3):( 1.72118193112276, 0.23133469857397)
764 (-2,-3):( 1.72118193112276, -0.23133469857397)
765 ( 2,-3):( 1.42041072246703, -0.23133469857397)
768 (-2.0,0):( -0.52359877559830, 0 )
769 (-1.0,0):( -1.57079632679490, 0 )
770 (-0.5,0):( -1.57079632679490, 1.31695789692482)
771 ( 0.5,0):( 1.57079632679490, -1.31695789692482)
772 ( 1.0,0):( 1.57079632679490, 0 )
773 ( 2.0,0):( 0.52359877559830, 0 )
776 ( 2, 3):( 0.15038560432786, -0.23133469857397)
777 (-2, 3):( -0.15038560432786, -0.23133469857397)
778 (-2,-3):( -0.15038560432786, 0.23133469857397)
779 ( 2,-3):( 0.15038560432786, 0.23133469857397)
782 (-2.0,0):( -0.46364760900081, 0 )
783 (-1.0,0):( -0.78539816339745, 0 )
784 (-0.5,0):( -1.10714871779409, 0 )
785 ( 0.5,0):( 1.10714871779409, 0 )
786 ( 1.0,0):( 0.78539816339745, 0 )
787 ( 2.0,0):( 0.46364760900081, 0 )
790 ( 2, 3):( 0.16087527719832, -0.22907268296854)
791 (-2, 3):( -0.16087527719832, -0.22907268296854)
792 (-2,-3):( -0.16087527719832, 0.22907268296854)
793 ( 2,-3):( 0.16087527719832, 0.22907268296854)
796 (-2.0,0):( -3.62686040784702, 0 )
797 (-1.0,0):( -1.17520119364380, 0 )
798 (-0.5,0):( -0.52109530549375, 0 )
800 ( 0.5,0):( 0.52109530549375, 0 )
801 ( 1.0,0):( 1.17520119364380, 0 )
802 ( 2.0,0):( 3.62686040784702, 0 )
805 ( 2, 3):( -3.59056458998578, 0.53092108624852)
806 (-2, 3):( 3.59056458998578, 0.53092108624852)
807 (-2,-3):( 3.59056458998578, -0.53092108624852)
808 ( 2,-3):( -3.59056458998578, -0.53092108624852)
811 (-2.0,0):( 3.76219569108363, 0 )
812 (-1.0,0):( 1.54308063481524, 0 )
813 (-0.5,0):( 1.12762596520638, 0 )
815 ( 0.5,0):( 1.12762596520638, 0 )
816 ( 1.0,0):( 1.54308063481524, 0 )
817 ( 2.0,0):( 3.76219569108363, 0 )
820 ( 2, 3):( -3.72454550491532, 0.51182256998738)
821 (-2, 3):( -3.72454550491532, -0.51182256998738)
822 (-2,-3):( -3.72454550491532, 0.51182256998738)
823 ( 2,-3):( -3.72454550491532, -0.51182256998738)
826 (-2.0,0):( -0.96402758007582, 0 )
827 (-1.0,0):( -0.76159415595576, 0 )
828 (-0.5,0):( -0.46211715726001, 0 )
830 ( 0.5,0):( 0.46211715726001, 0 )
831 ( 1.0,0):( 0.76159415595576, 0 )
832 ( 2.0,0):( 0.96402758007582, 0 )
835 ( 2, 3):( 0.96538587902213, -0.00988437503832)
836 (-2, 3):( -0.96538587902213, -0.00988437503832)
837 (-2,-3):( -0.96538587902213, 0.00988437503832)
838 ( 2,-3):( 0.96538587902213, 0.00988437503832)
841 (-2.0,0):( 0.26580222883408, 0 )
842 (-1.0,0):( 0.64805427366389, 0 )
843 (-0.5,0):( 0.88681888397007, 0 )
845 ( 0.5,0):( 0.88681888397007, 0 )
846 ( 1.0,0):( 0.64805427366389, 0 )
847 ( 2.0,0):( 0.26580222883408, 0 )
850 ( 2, 3):( -0.26351297515839, -0.03621163655877)
851 (-2, 3):( -0.26351297515839, 0.03621163655877)
852 (-2,-3):( -0.26351297515839, -0.03621163655877)
853 ( 2,-3):( -0.26351297515839, 0.03621163655877)
856 (-2.0,0):( -0.27572056477178, 0 )
857 (-1.0,0):( -0.85091812823932, 0 )
858 (-0.5,0):( -1.91903475133494, 0 )
859 ( 0.5,0):( 1.91903475133494, 0 )
860 ( 1.0,0):( 0.85091812823932, 0 )
861 ( 2.0,0):( 0.27572056477178, 0 )
864 ( 2, 3):( -0.27254866146294, -0.04030057885689)
865 (-2, 3):( 0.27254866146294, -0.04030057885689)
866 (-2,-3):( 0.27254866146294, 0.04030057885689)
867 ( 2,-3):( -0.27254866146294, 0.04030057885689)
870 (-2.0,0):( -1.03731472072755, 0 )
871 (-1.0,0):( -1.31303528549933, 0 )
872 (-0.5,0):( -2.16395341373865, 0 )
873 ( 0.5,0):( 2.16395341373865, 0 )
874 ( 1.0,0):( 1.31303528549933, 0 )
875 ( 2.0,0):( 1.03731472072755, 0 )
878 ( 2, 3):( 1.03574663776500, 0.01060478347034)
879 (-2, 3):( -1.03574663776500, 0.01060478347034)
880 (-2,-3):( -1.03574663776500, -0.01060478347034)
881 ( 2,-3):( 1.03574663776500, -0.01060478347034)
884 (-2.0,0):( -1.44363547517881, 0 )
885 (-1.0,0):( -0.88137358701954, 0 )
886 (-0.5,0):( -0.48121182505960, 0 )
888 ( 0.5,0):( 0.48121182505960, 0 )
889 ( 1.0,0):( 0.88137358701954, 0 )
890 ( 2.0,0):( 1.44363547517881, 0 )
893 ( 2, 3):( 1.96863792579310, 0.96465850440760)
894 (-2, 3):( -1.96863792579310, 0.96465850440761)
895 (-2,-3):( -1.96863792579310, -0.96465850440761)
896 ( 2,-3):( 1.96863792579310, -0.96465850440760)
899 (-2.0,0):( -1.31695789692482, 3.14159265358979)
900 (-1.0,0):( 0, 3.14159265358979)
901 (-0.5,0):( 0, 2.09439510239320)
902 ( 0.0,0):( 0, 1.57079632679490)
903 ( 0.5,0):( 0, 1.04719755119660)
905 ( 2.0,0):( 1.31695789692482, 0 )
908 ( 2, 3):( 1.98338702991654, 1.00014354247380)
909 (-2, 3):( -1.98338702991653, -2.14144911111600)
910 (-2,-3):( -1.98338702991653, 2.14144911111600)
911 ( 2,-3):( 1.98338702991654, -1.00014354247380)
914 (-2.0,0):( -0.54930614433405, 1.57079632679490)
915 (-0.5,0):( -0.54930614433405, 0 )
917 ( 0.5,0):( 0.54930614433405, 0 )
918 ( 2.0,0):( 0.54930614433405, 1.57079632679490)
921 ( 2, 3):( 0.14694666622553, 1.33897252229449)
922 (-2, 3):( -0.14694666622553, 1.33897252229449)
923 (-2,-3):( -0.14694666622553, -1.33897252229449)
924 ( 2,-3):( 0.14694666622553, -1.33897252229449)
927 (-2.0,0):( 0 , 2.09439510239320)
928 (-1.0,0):( 0 , 3.14159265358979)
929 (-0.5,0):( -1.31695789692482, 3.14159265358979)
930 ( 0.5,0):( 1.31695789692482, 0 )
932 ( 2.0,0):( 0 , 1.04719755119660)
935 ( 2, 3):( 0.23133469857397, -1.42041072246703)
936 (-2, 3):( -0.23133469857397, 1.72118193112276)
937 (-2,-3):( -0.23133469857397, -1.72118193112276)
938 ( 2,-3):( 0.23133469857397, 1.42041072246703)
941 (-2.0,0):( -0.48121182505960, 0 )
942 (-1.0,0):( -0.88137358701954, 0 )
943 (-0.5,0):( -1.44363547517881, 0 )
944 ( 0.5,0):( 1.44363547517881, 0 )
945 ( 1.0,0):( 0.88137358701954, 0 )
946 ( 2.0,0):( 0.48121182505960, 0 )
949 ( 2, 3):( 0.15735549884499, -0.22996290237721)
950 (-2, 3):( -0.15735549884499, -0.22996290237721)
951 (-2,-3):( -0.15735549884499, 0.22996290237721)
952 ( 2,-3):( 0.15735549884499, 0.22996290237721)
955 (-2.0,0):( -0.54930614433405, 0 )
956 (-0.5,0):( -0.54930614433405, 1.57079632679490)
957 ( 0.5,0):( 0.54930614433405, 1.57079632679490)
958 ( 2.0,0):( 0.54930614433405, 0 )
961 ( 2, 3):( 0.14694666622553, -0.23182380450040)
962 (-2, 3):( -0.14694666622553, -0.23182380450040)
963 (-2,-3):( -0.14694666622553, 0.23182380450040)
964 ( 2,-3):( 0.14694666622553, 0.23182380450040)