function value = i4_is_odd ( i )

%*****************************************************************************80
%
%% i4_is_odd() returns true if I is odd.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    24 June 2016
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer I, the integer to be tested.
%
%  Output:
%
%    logical VALUE, is true if I is odd.
%
  value = ( mod ( i, 2 ) == 1 );

  return
end
