function value = r8_is_inf ( r )

%*****************************************************************************80
%
%% r8_is_inf() determines if an R8 represents an infinite value.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 May 2016
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real R, the number to be checked.
%
%  Output:
%
%    integer VALUE, is true if R is an infinite value.
%
  value = ( r == - Inf || r == Inf );

  return
end
