function [ r, theta ] = c8_to_polar ( z )

%*****************************************************************************80
%
%% c8_to_polar() converts a C8 to polar form.
%
%  Discussion:
%
%    A C8 is a complex value.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    02 March 2013
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    complex Z, the argument.
%
%  Output:
%
%    real R, THETA, the polar form.
%
  r = c8_mag ( z );
  theta = c8_arg ( z );

  return
end
