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 9217269 commit 8dbc66bCopy full SHA for 8dbc66b
doc/Type/Complex.pod6
@@ -30,6 +30,11 @@ Defined as:
30
Creates a new C<Complex> object from real and imaginary parts.
31
32
my $complex = Complex.new(1, 1);
33
+ say $complex; # OUTPUT: «1+1i»
34
+
35
+When created without arguments, both parts are considered to be zero.
36
37
+ say Complex.new; # OUTPUT: «0+0i»
38
39
=head2 method re
40
@@ -208,4 +213,4 @@ a warning about using an uninitialized value in numeric context and then returns
208
213
209
214
=end pod
210
215
211
-# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
216
+# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
0 commit comments