function value = r8_is_in_01 ( x )

%*****************************************************************************80
%
%% R8_IS_IN_01 is true if the value is in the range [0,1].
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license. 
%
%  Modified:
%
%    06 October 2004
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, real X, the value.
%
%    Output, logical VALUE, is true if 0 <= X <= 1.
%
  if ( x < 0.0 || 1.0 < x )
    value = false;
  else
    value = true;
  end

  return
end
