 Test of EXP(Z) vs EXP(Z-DEL)EXP(DEL), DEL = (1/16,1/16)


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


 First, report the vector error


 Test function was larger     0 times,
                   agreed   890 times, and
              was smaller  1110 times.


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


 The maximum relative error of     0.2161E-06 =    2 ** -22.14
    occurred for Z =     0.792009E+00     0.625000E-01
    with a value of      0.220352E+01     0.137899E+00
 The estimated loss of base   2 significant digits is   1.86


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


 Then, report the error in the real component.


 Test function was larger   175 times,
                   agreed  1206 times, and
              was smaller   619 times.


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


 The maximum relative error of     0.2164E-06 =    2 ** -22.14
    occurred for Z =     0.792009E+00     0.625000E-01
    with a value of      0.220352E+01     0.137899E+00
 The estimated loss of base   2 significant digits is   1.86


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


 Then, report the error in the imaginary component.


 Test function was larger   313 times,
                   agreed  1268 times, and
              was smaller   419 times.


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


 The maximum relative error of     0.1811E-06 =    2 ** -22.40
    occurred for Z =     0.275498E+00     0.625000E-01
    with a value of      0.131462E+01     0.822706E-01
 The estimated loss of base   2 significant digits is   1.60


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


 Test of EXP(Z) vs EXP(Z-DEL)EXP(DEL), DEL = (1/16,1/16)


   2000 Random arguments were tested from the box
      (     0.1625E+01,     0.3000E+01)
      (     0.1625E+01,     0.3000E+01)


 First, report the vector error


 Test function was larger     0 times,
                   agreed   506 times, and
              was smaller  1494 times.


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


 The maximum relative error of     0.2173E-06 =    2 ** -22.13
    occurred for Z =     0.286536E+01     0.162500E+01
    with a value of     -0.951103E+00     0.175297E+02
 The estimated loss of base   2 significant digits is   1.87


 The root mean square relative error was     0.6040E-07 =    2 ** -23.98
 The estimated loss of base   2 significant digits is   0.02


 Then, report the error in the real component.


 Test function was larger   373 times,
                   agreed   874 times, and
              was smaller   753 times.


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


 The maximum relative error of     0.2368E-06 =    2 ** -22.01
    occurred for Z =     0.222933E+01     0.162500E+01
    with a value of     -0.503505E+00     0.928003E+01
 The estimated loss of base   2 significant digits is   1.99


 The root mean square relative error was     0.7619E-07 =    2 ** -23.65
 The estimated loss of base   2 significant digits is   0.35


 Then, report the error in the imaginary component.


 Test function was larger   658 times,
                   agreed  1122 times, and
              was smaller   220 times.


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


 The maximum relative error of     0.2176E-06 =    2 ** -22.13
    occurred for Z =     0.286536E+01     0.162500E+01
    with a value of     -0.951103E+00     0.175297E+02
 The estimated loss of base   2 significant digits is   1.87


 The root mean square relative error was     0.6034E-07 =    2 ** -23.98
 The estimated loss of base   2 significant digits is   0.02


 Test of EXP(Z) vs EXP(Z-DEL)EXP(DEL), DEL = (1/16,1/16)


   2000 Random arguments were tested from the box
      (     0.1600E+02,     0.1700E+02)
      (     0.1600E+02,     0.1700E+02)


 First, report the vector error


 Test function was larger     0 times,
                   agreed   703 times, and
              was smaller  1297 times.


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


 The maximum relative error of     0.2143E-06 =    2 ** -22.15
    occurred for Z =     0.167501E+02     0.160000E+02
    with a value of     -0.180170E+08    -0.541648E+07
 The estimated loss of base   2 significant digits is   1.85


 The root mean square relative error was     0.6220E-07 =    2 ** -23.94
 The estimated loss of base   2 significant digits is   0.06


 Then, report the error in the real component.


 Test function was larger   678 times,
                   agreed  1119 times, and
              was smaller   203 times.


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


 The maximum relative error of     0.2220E-06 =    2 ** -22.10
    occurred for Z =     0.167501E+02     0.160000E+02
    with a value of     -0.180170E+08    -0.541648E+07
 The estimated loss of base   2 significant digits is   1.90


 The root mean square relative error was     0.6250E-07 =    2 ** -23.93
 The estimated loss of base   2 significant digits is   0.07


 Then, report the error in the imaginary component.


 Test function was larger   563 times,
                   agreed  1118 times, and
              was smaller   319 times.


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


 The maximum relative error of     0.2031E-06 =    2 ** -22.23
    occurred for Z =     0.166546E+02     0.160000E+02
    with a value of     -0.163768E+08    -0.492340E+07
 The estimated loss of base   2 significant digits is   1.77


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


 Special tests


 The identity  EXP(Z)*EXP(-Z) = 1.0  will be tested.

        Z                        F(Z)*F(-Z) - 1

  0.0000000E+00  0.0000000E+00  0.0000000E+00  0.0000000E+00

  0.0000000E+00  0.0000000E+00  0.0000000E+00  0.0000000E+00

  0.0000000E+00  0.0000000E+00  0.0000000E+00  0.0000000E+00

  0.0000000E+00  0.0000000E+00  0.0000000E+00  0.0000000E+00

  0.0000000E+00  0.0000000E+00  0.0000000E+00  0.0000000E+00



 Test of special arguments


 EXP(0.0,0.0) - 1.0E0 = (  0.0000000E+00  0.0000000E+00)



 Test cos(y), sin(y), and exp(x)


 [REAL(EXP(0,10)) - COS(10)]/COS(10) =   0.0000000E+00

 [IMAG(EXP(0,10)) - SIN(10)]/SIN(10) =   0.0000000E+00

 [REAL(EXP(10,0)) - EXP(10)]/EXP(10) =   0.0000000E+00



 Tests near extreme arguments


 The real part of the first result below may underflow.

 EXP(-0.870000E+02 0.100000E+01) = ( 0.889236E-38 0.138490E-37)

 EXP( 0.880000E+02 0.100000E+01) = ( 0.892383E+38 0.138980E+39)


 If EXP( 0.440000E+02 0.100000E+02) = (-0.107834E+20-0.699154E+19) is not about
 EXP( 0.220000E+02 0.500000E+01)**2 = (-0.107834E+20-0.699154E+19), there is an
 argument reduction error


 Test of error returns


 EXP will be called with the argument (    -0.9223E+19     0.1000E+01)

 The real component of the argument is so negative
 that the real exponential should underflow to zero.
 Thus, the result should be (0,0).

 EXP returned the value (     0.0000E+00     0.0000E+00)



 EXP will be called with the argument (     0.1000E+02     0.1845E+20)

 The imaginary component of the argument is too large
 for the sin and cos computations to make sense.

 EXP returned the value (     0.2013E+05    -0.8933E+04)



 EXP will be called with the argument (     0.9223E+19    -0.1000E+01)

 The real component of the argument is so large
 that the real exponential should overflow.  The
 result should be (inf,inf) with an error return.

 EXP returned the value (+++++++++++++++---------------)


 This concludes the tests
