function value = c8_exp ( c )

%*****************************************************************************80
%
%% c8_exp() evaluates the exponential of a C8.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    09 February 2015
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    complex C, the argument.
%
%  Output:
%
%    complex VALUE, the function value.
%
  cr = c8_real ( c );
  ci = c8_imag ( c );

  value = exp ( cr ) * ( cos ( ci ) + sin ( ci ) * i );

  return
end
