In Complex§
See primary documentation in context for method reals
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)»
See primary documentation in context for method reals
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)»