PROGRAM FILE 114: EVALUATION OF ABS FUNCTION.
    ANSI STANDARD 8.4

SECTION 114.1: EVALUATION OF ABS FUNCTION.

THIS SECTION TESTS WHETHER THE ABS NUMERIC-SUPPLIED-FUNCTION
RETURNS THE ABSOLUTE VALUE FOR A VARIETY OF ARGUMENTS.

                BEGIN TEST

               CORRECT        ACTUAL         TEST
ARGUMENT       VALUE          VALUE          RESULT

-2              2              2              OK 
-1              1              1              OK 
 0              0              0              OK 
 0              0              0              OK 
 1              1              1              OK 
 2              2              2              OK 
 2.1            2.1            2.1            OK 
 2.9            2.9            2.9            OK 
-2.1            2.1            2.1            OK 
-2.9            2.9            2.9            OK 
-1.23E+22       1.23E+22       1.23E+22       OK 
 3.21E-11       3.21E-11       3.21E-11       OK 
 9.99E+37       9.99E+37       9.99E+37       OK 
-9.99E+37       9.99E+37       9.99E+37       OK 
 1.E+38         1.E+38         1.E+38         OK 
-1.E+38         1.E+38         1.E+38         OK 
 1.E-38         1.E-38         1.E-38         OK 
-1.E-38         1.E-38         1.E-38         OK 
-1.01E-38       1.01E-38       1.01E-38       OK 
 .001           .001           .001           OK 
-.001           .001           .001           OK 

*** TEST PASSED ***

               END TEST

END PROGRAM 114
