function value = r8_min ( a, b )

%*****************************************************************************80
%
%% r8_min() returns the minimum 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 minimum of A and B.
%
  if ( a < b )
    value = a;
  else
    value = b;
  end

  return
end
