function z = r82_to_c8 ( x, y )

%*****************************************************************************80
%
%% r82_to_c8() makes a complex number from two real values.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 May 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real X, Y, the real and imaginary parts.
%
%  Output:
%
%    complex Z, the value of ( A + B*i).
%
  z = x + y * i;
  
  return
end
