home *** CD-ROM | disk | FTP | other *** search
- 8087TEST Documentation
-
- 8087TEST is a menu driven program written in IBM BASIC and
- compiled using 87BASCOM and 87BASCOM.LIB - the MicroWare 8087
- enhanced versions of the IBM compiler. The program can be used to
- benchmark the 8087, as driven by 87BASIC, or test the functionality
- of the chip. The program is broken up into 4 sections: simple operations,
- trigonometric functions, transcendental functions and overall test. The
- last section verifies chip operation by performing a sequence of
- trigonometric and transcendental operations in double precision, and
- then comparing the results with the correct results. All the simple and
- complex operations performed by the chip are used by these routines. If
- any 8087 operation was not functioning correctly, this would result in
- an incorrect partial result, which would filter down and change the final
- result, causing the program to print a FAILED TEST message.
- The other three sections of the program can be used to verify
- the functionality of the 87BASIC implementation of the chip. For example,
- if the transcendental section is activated from the main menu, and the
- natural log section entered, the program will prompt for a real number.
- Entering 10 or 10.0, will cause 5,000 evaluations of log(10) to the base e.
- This is then followed by a double precision benchmark. The double precision
- value of log(10) = 2.302585092994046. The differnt sections can be used
- to verify the accuracy of other programs, hand calculators, etc., don't be
- surprised if you find differences. The only limitation of this program, is
- the size of the double precision exponent, which is limited to 10**38, by
- the basic print routine.
-