function vdc_inverse_test ( )

%*****************************************************************************80
%
%% vdc_inverse_test() tests vdc_inverse().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 August 2016
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'vdc_inverse_test():\n' );
  fprintf ( 1, '  vdc_inverse() inverts an element of a van der Corput sequence.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '    I        R=VDC(I)  VDC_INVERSE(R)\n' );
  fprintf ( 1, '\n' );

  for i = -10 : 10
    r = vdc ( i );
    i2 = vdc_inverse ( r );
    fprintf ( 1, '  %3d  %14.8f  %3d\n', i, r, i2 );
  end

  return
end
