programming-examples/perl/SystemFunction/Compare complex number.pl
2019-11-15 12:59:38 +01:00

7 lines
121 B
Raku

use Math::Complex;
$c1 = Math::Complex->new(1,1);
$c2 = Math::Complex->new(2,2);
print "$c2 > $c1" if $c2 > $c1;