Microsoft KB Archive/50320

= 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 &quot;Microsoft FORTRAN Advanced Topics&quot; 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

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.