function value = r8_max ( a, b )

%*****************************************************************************80
%
%% R8_MAX returns the maximum of two R8's.
%
%  Discussion:
%
%    An R8 is a double precision real value.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 May 2014
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real A, B, values to compare.
%
%  Output:
%
%    real VALUE, the maximum of A and B.
%
  if ( a < b )
    value = b;
  else
    value = a;
  end

  return
end
