Microsoft KB Archive/50320

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:57, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


General Differences between /FPi, /FPc, /FPa

Article ID: 50320

Article Last Modified on 12/1/2003



APPLIES TO

  • Microsoft FORTRAN Compiler 4.0
  • Microsoft FORTRAN Compiler 4.01
  • Microsoft FORTRAN Compiler 4.1
  • Microsoft FORTRAN Compiler 5.0
  • Microsoft FORTRAN Compiler 5.1
  • Microsoft FORTRAN Compiler 4.0
  • Microsoft FORTRAN Compiler 4.01
  • Microsoft FORTRAN Compiler 4.1
  • Microsoft FORTRAN Compiler 5.0
  • Microsoft FORTRAN Compiler 5.1



This article was previously published under Q50320

SUMMARY

The compile options /FPi, /FPc, and /FPa instruct the FORTRAN compiler to generate an executable program in different ways.

The /FPi option generates in-line instructions for a math coprocessor and places the name of the emulator library in the object file. If a math coprocessor is present at run time, the program uses the coprocessor, If it's not available, it simulates the coprocessor. The object file must be linked with the emulator library.

The /FPc option generates floating-point calls to the emulator library and allows linking with either the 8087/287/387, alternate, or emulator libraries.

The /FPa option generates floating-point calls and places the name of the alternate library in the object file.

The above information is found in Chapter 1 of the "Microsoft FORTRAN Advanced Topics" manual for FORTRAN 5.X and Chapter 8 of the FORTRAN 4.X User's Guide.


Additional query words: 5.00 nofps 5.10

Keywords: KB50320