Floating-Point Numbers

This version of Visual Fortran uses a close approximation to the IEEE floating-point standard (ANSI/IEEE Std 754-1985, IEEE Standard for Binary Floating-Point Arithmetic, 1985). This standard is common to many microcomputer-based systems due to the availability of fast math coprocessors that implement the required characteristics.

You should choose the appropriate setting of the /fpe compiler option to select the type of default floating-point exception handling provided by the Visual Fortran run-time system.

This section outlines the characteristics of the standard and its implementation for Visual Fortran. Except as noted, the description includes both the IEEE standard and the Visual Fortran implementation. The following topics are discussed: