Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ User's Guide - if you have a numeric data processor (math coprocessor) in your system but http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
If you have a numeric data processor (math coprocessor) in your system but
you wish to test a version of your application that will use floating-point
emulation ("fpi" option) or simulation ("fpc" option), you can define the
NO87 environment variable.

(16-bit only) The application must be compiled using the "fpc"
(floating-point calls) option and linked with the appropriate MATH?.LIB
library or the "fpi" option (default) and linked with the appropriate
MATH87?.LIB and EMU87.LIB libraries.

(32-bit only) The application must be compiled using the "fpc"
(floating-point calls) option and linked with the appropriate MATH3?.LIB
library or the "fpi" option (default) and linked with the appropriate
MATH387?.LIB library.

Using the "SET" command, define the environment variable as follows:


     C>SET NO87=1

Now, when you run your application, the 80x87 will be ignored.  To undefine
the environment variable, enter the command:


     C>SET NO87=

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson