function r8_asin_test ( )

%*****************************************************************************80
%
%% R8_ASIN_TEST tests R8_ASIN.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    30 July 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8_ASIN_TEST\n' );
  fprintf ( 1, '  R8_ASIN computes the arc-sine of a value between -1 and +1;\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '      X        R8_ASIN(X)\n' );
  fprintf ( 1, '\n' );

  x = linspace ( -1.1, +1.1, 23 );
  for i = 1 : 23
    fprintf ( 1, '  %12f  %12f\n', x(i), r8_asin ( x(i) ) );
  end

  return
end

