Skip to content

Commit 3812880

Browse files
committed
Make example compile
1 parent e644cee commit 3812880

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/Type/Complex.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,10 @@ The X<exponentiation operator> coerces the second argument to L<Complex|/type/Co
223223
and calculates the left-hand-side raised to the power of the right-hand side. Since 6.d,
224224
either argument can be equal to zero.
225225
226-
say i ** i # OUTPUT: «0.20787957635076193+0i␤»
227-
say 2 ** i # OUTPUT: «0.7692389013639721+0.6389612763136348i␤»
228-
say i ** 2 # OUTPUT: «-1+1.2246467991473532e-16i␤»
229-
say 0 ** 1 # OUTPUT: «0+0i␤»
226+
say i ** i; # OUTPUT: «0.20787957635076193+0i␤»
227+
say 2 ** i; # OUTPUT: «0.7692389013639721+0.6389612763136348i␤»
228+
say i ** 2; # OUTPUT: «-1+1.2246467991473532e-16i␤»
229+
say 0 ** 1; # OUTPUT: «0+0i␤»
230230
231231
=end pod
232232

0 commit comments

Comments
 (0)