method re

Documentation for method re assembled from the following types:

class Complex

From Complex

(Complex) method re

Defined as:

method re(Complex:D: --> Real:D)

Returns the real part of the complex number.

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