Microsoft KB Archive/105939

From BetaArchive Wiki

BUG: Debugger displays Floating Point Notation for REALs

PSS ID Number: Q105939 Article last modified on 11-01-1993

1.00 MS-DOS

The information in this article applies to:
- Microsoft FORTRAN PowerStation for MS-DOS, version 1.0


The debugger will display real values only in floating point notation in locals and watch windows. Other modes of display such as scientific and exponential notations are not available.


Microsoft has confirmed this to be a problem in FORTRAN PowerStation version 1.00. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Many numbers are poorly represented in floating point notation. For instance, a very small real value may be displayed as 0.

Sample Code

C Compile options needed: /Zi real4 x,y x = 1.2345E38 y = 1.1234E-38 print, x,y end In the debugger, step through the program until the print statement. Local and watch window on x and y will display: X = 123450001585154100000000000000000000000.000000 Y = 0.000000

KBCategory: Tools Additional Reference Words: IDE Copyright Microsoft Corporation 1993.