We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e644cee commit 3812880Copy full SHA for 3812880
doc/Type/Complex.pod6
@@ -223,10 +223,10 @@ The X<exponentiation operator> coerces the second argument to L<Complex|/type/Co
223
and calculates the left-hand-side raised to the power of the right-hand side. Since 6.d,
224
either argument can be equal to zero.
225
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»
+ 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»
230
231
=end pod
232
0 commit comments