C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Inline 80x87 Instructions (/FPi87): Details
                                             Up Contents Index Back
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     Syntax:  /FPi87
 
     This option generates true inline coprocessor instructions. It
     causes the inclusion of the name of an 80x87 library (mLIBC7.LIB)
     in the object file. An 80x87 coprocessor must be present at run
     time. Otherwise, the program fails and the following error message
     is displayed:
 
        runtime error R6002
        - floating point not loaded
 
     At link time, you can override an 80x87 library (mLIBC7.LIB) and
     specify an emulator library (mLIBCE.LIB) instead so that the
     resulting program runs on computers without coprocessors.
 
     Compiling with the /FPi87 option results in the smallest, fastest
     programs possible for handling floating-point results.
 
     NOTE: If you compile with /FPi87 and link with mLIBCE.LIB, you can
           set the NO87 environment variable to suppress the use of the
           coprocessor.
           See: NO87 environment variable
                                    -♦-