Skip to content

Commit

Permalink
Make example compile
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Mar 8, 2019
1 parent e644cee commit 3812880
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/Type/Complex.pod6
Expand Up @@ -223,10 +223,10 @@ The X<exponentiation operator> coerces the second argument to L<Complex|/type/Co
and calculates the left-hand-side raised to the power of the right-hand side. Since 6.d,
either argument can be equal to zero.
say i ** i # OUTPUT: «0.20787957635076193+0i␤»
say 2 ** i # OUTPUT: «0.7692389013639721+0.6389612763136348i␤»
say i ** 2 # OUTPUT: «-1+1.2246467991473532e-16i␤»
say 0 ** 1 # OUTPUT: «0+0i␤»
say i ** i; # OUTPUT: «0.20787957635076193+0i␤»
say 2 ** i; # OUTPUT: «0.7692389013639721+0.6389612763136348i␤»
say i ** 2; # OUTPUT: «-1+1.2246467991473532e-16i␤»
say 0 ** 1; # OUTPUT: «0+0i␤»
=end pod

Expand Down

0 comments on commit 3812880

Please sign in to comment.