Node:Re, Next:, Previous:Randomize, Up:Reference



Re

Synopsis


function Re (z: Complex): Real;

Description

Re extracts the real part of the complex number z.

Conforming to

Re is an ISO 10206 Extended Pascal extension.

Example


program ReDemo;
var
  z: Complex;
begin
  z := Cmplx (1, 2);
  WriteLn (Re (z) : 0 : 5)
end.

See also

Cmplx, Im, Arg