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.
Floating-Point Options (/FP)
◄Up► ◄Contents► ◄Index► ◄Back►
─────Floating-Point Options (/FP)───────────────────────────────────────────
The FP options control floating-point operations:
Option Effect
/FPi Generates inline instructions and uses emulator math
/FPi87 Generates inline instructions and uses 80x87 commands
/FPc Generates floating-point calls and uses emulator math
/FPc87 Generates floating-point calls and uses 80x87 commands
/FPa Generates floating-point calls and uses alternate math
By default, programs use the 80x87 coprocessor. If your computer
does not have a coprocessor, you must specify a floating-point
option that uses either the emulator or the alternate-math
package.
The compiler does not generate true inline 80x87 code with the
/FPi87 option. Instead, the compiler inserts software interrupts
that fix each interrupt to use either the emulator or
coprocessor, as appropriate. If you force-link the emulator code
to a program, these interrupts call the emulator if a math chip
is not available.
See Also: ◄/A►
-♦-