method reals

Documentation for method reals assembled from the following types:

class Complex

From Complex

(Complex) method reals

Defined as:

method reals(Complex:D: --> Positional:D)

Returns a two-element list containing the real and imaginary parts for this value.

say (3+5i).reals;    # OUTPUT: «(3 5)␤»