 Test of Z ** (1,0) vs Z


   2000 Random arguments were tested from the box
      (     0.1000E+01,     0.1000E+02)
      (     0.0000E+00,     0.1000E+02)


 First, report the vector error


 Test function was larger     0 times,
                   agreed  1332 times, and
              was smaller   668 times.


 There are  24 base   2 significant digits in a floating-point number.


 The maximum relative error of     0.1290E-06 =    2 ** -22.89
    occurred for Z =     0.739440E+01     0.000000E+00
    with a value of      0.739440E+01     0.000000E+00
 The estimated loss of base   2 significant digits is   1.11


 The root mean square relative error was     0.5198E-07 =    2 ** -24.20
 The estimated loss of base   2 significant digits is   0.00


 Then, report the error in the real component.


 Test function was larger   333 times,
                   agreed  1332 times, and
              was smaller   335 times.


 There are  24 base   2 significant digits in a floating-point number.


 The maximum relative error of     0.1290E-06 =    2 ** -22.89
    occurred for Z =     0.739440E+01     0.000000E+00
    with a value of      0.739440E+01     0.000000E+00
 The estimated loss of base   2 significant digits is   1.11


 The root mean square relative error was     0.5198E-07 =    2 ** -24.20
 The estimated loss of base   2 significant digits is   0.00


 Then, report the error in the imaginary component.


 Test function was larger     0 times,
                   agreed     0 times, and
              was smaller  2000 times.


 There are  24 base   2 significant digits in a floating-point number.


 The maximum relative error of     0.1000E+01 =    2 **   0.00
    occurred for Z =     0.100000E+01     0.000000E+00
    with a value of      0.100000E+01     0.000000E+00
 The estimated loss of base   2 significant digits is  24.00


 The root mean square relative error was     0.1000E+01 =    2 **   0.00
 The estimated loss of base   2 significant digits is  24.00


 Test of Z ** (2,0) vs Z*Z


   2000 Random arguments were tested from the box
      (     0.1000E+01,     0.1000E+02)
      (     0.0000E+00,     0.1000E+02)


 First, report the vector error


 Test function was larger     0 times,
                   agreed   796 times, and
              was smaller  1204 times.


 There are  24 base   2 significant digits in a floating-point number.


 The maximum relative error of     0.2668E-06 =    2 ** -21.84
    occurred for Z =     0.756250E+01     0.000000E+00
    with a value of      0.571914E+02     0.000000E+00
 The estimated loss of base   2 significant digits is   2.16


 The root mean square relative error was     0.8843E-07 =    2 ** -23.43
 The estimated loss of base   2 significant digits is   0.57


 Then, report the error in the real component.


 Test function was larger   639 times,
                   agreed   796 times, and
              was smaller   565 times.


 There are  24 base   2 significant digits in a floating-point number.


 The maximum relative error of     0.2668E-06 =    2 ** -21.84
    occurred for Z =     0.756250E+01     0.000000E+00
    with a value of      0.571914E+02     0.000000E+00
 The estimated loss of base   2 significant digits is   2.16


 The root mean square relative error was     0.8843E-07 =    2 ** -23.43
 The estimated loss of base   2 significant digits is   0.57


 Then, report the error in the imaginary component.


 Test function was larger     0 times,
                   agreed     0 times, and
              was smaller  2000 times.


 There are  24 base   2 significant digits in a floating-point number.


 The maximum relative error of     0.1000E+01 =    2 **   0.00
    occurred for Z =     0.100000E+01     0.000000E+00
    with a value of      0.100000E+01     0.000000E+00
 The estimated loss of base   2 significant digits is  24.00


 The root mean square relative error was     0.1000E+01 =    2 **   0.00
 The estimated loss of base   2 significant digits is  24.00


 Test of Z**W vs (Z*Z) ** (W/2)


 *****************************************************
 * Very large MRE values are the norm for this test; *
 * the frequency of exact agreement is meaningful.   *
 *****************************************************


   2000 Random arguments were tested from the box
      (     0.4000E+01,     0.1000E+02)
      (     0.4000E+01,     0.1000E+02)


 First, report the vector error


 Test function was larger     0 times,
                   agreed  1559 times, and
              was smaller   441 times.


 There are  24 base   2 significant digits in a floating-point number.


 The maximum relative error of     0.2154E-05 =    2 ** -18.82
    occurred for Z =     0.721875E+01     0.400000E+01
             and W =     0.400000E+01     0.400000E+01
    with a value of     -0.309514E+03    -0.529060E+03
 The estimated loss of base   2 significant digits is   5.18


 The root mean square relative error was     0.5166E-06 =    2 ** -20.88
 The estimated loss of base   2 significant digits is   3.12


 Then, report the error in the real component.


 Test function was larger   190 times,
                   agreed  1570 times, and
              was smaller   240 times.


 There are  24 base   2 significant digits in a floating-point number.


 The maximum relative error of     0.1238E-03 =    2 ** -12.98
    occurred for Z =     0.987500E+01     0.400000E+01
             and W =     0.400000E+01     0.400000E+01
    with a value of      0.214529E+02    -0.276390E+04
 The estimated loss of base   2 significant digits is  11.02


 The root mean square relative error was     0.1272E-04 =    2 ** -16.26
 The estimated loss of base   2 significant digits is   7.74


 Then, report the error in the imaginary component.


 Test function was larger   230 times,
                   agreed  1559 times, and
              was smaller   211 times.


 There are  24 base   2 significant digits in a floating-point number.


 The maximum relative error of     0.2499E-05 =    2 ** -18.61
    occurred for Z =     0.628125E+01     0.400000E+01
             and W =     0.400000E+01     0.400000E+01
    with a value of     -0.204125E+03    -0.244193E+03
 The estimated loss of base   2 significant digits is   5.39


 The root mean square relative error was     0.5339E-06 =    2 ** -20.84
 The estimated loss of base   2 significant digits is   3.16


 Special tests


 The identity  Z**W = (1/Z)**(-W)  will be tested.

           Z                     W          (Z**W - (1/Z)**(-W))/CABS(Z**W)

 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00??????????????????????????????

 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00??????????????????????????????

 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00??????????????????????????????

 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00??????????????????????????????

 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00??????????????????????????????



 Test near an extreme argument.  This should not, but may
 trigger an error message


 (BETA,BETA*XMIN)**(MAXEXP-1,0)       = (  0.1701415E+39  0.2540004E+03)
 BETA**(MAXEXP-1)*(1,(MAXEXP-1)*XMIN) = (  0.1701412E+39  0.2540000E+03)
 Difference                           = (  0.2839537E+33  0.4272461E-03)


 Test of error returns


 Test of (0,0) ** (0,0).
 This should trigger an error message


 Test returned the value (??????????????????????????????)


 This concludes the tests
