method reals
1 | class Complex |
1.1 | (Complex) method reals |
Documentation for method reals
assembled from the following types:
class Complex
From Complex
(Complex) method reals
Defined as:
method reals(Complex: --> Positional)
Returns a two-element list containing the real and imaginary parts for this value.
say (3+5i).reals; # OUTPUT: «(3 5)»