function r8_sech_test ( )

%*****************************************************************************80
%
%% R8_SECH_TEST tests R8_SECH.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    21 July 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8_SECH_TEST\n' );
  fprintf ( 1, '  R8_SECH computes the hyperbolic-secant of an angle.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '       X            A=R8_SECH(X)    ASECH(A)\n' );
  fprintf ( 1, '\n' );

  for test = 0 : 8

    x = 1.0 + ( test ) / 2.0;
    a = r8_sech ( x );
    x2 = asech ( a );

    fprintf ( 1, '  %14.6g  %14.6g  %14.6g\n', x, a, x2 );

  end

  return
end
