function r = dec_to_r8 ( mantissa, exponent )

%*****************************************************************************80
%
%% dec_to_r8() converts a decimal to an R8.
%
%  Discussion:
%
%    A decimal value is represented by MANTISSA * 10^EXPONENT.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    27 June 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer MANTISSA, EXPONENT, the coefficient and exponent
%    of the decimal value.
%
%  Output:
%
%    real R, the equivalent real value.
%
  r = mantissa * ( 10 ^ exponent );

  return
end
