Arithmetic/Complex: Difference between revisions

Content added Content deleted
(→‎{{header|Go}}: added complex conjugate, added output)
(→‎{{header|Perl 6}}: add conjugate)
Line 1,763:
my $b = pi + 1.25i;
 
.say for $a + $b, $a * $b, -$a, 1 / $a, -$a.conj;</lang>
Output:
<pre>4.1415926535897931+2.25i
1.8915926535897931+4.3915926535897931i
-1-1i
0.5-0.5i
1-1i</pre>
 
=={{header|PL/I}}==