Microsoft KB Archive/105939

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:13, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q105939 to Microsoft KB Archive/105939 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

SYMPTOMS

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.

STATUS

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.

MORE INFORMATION

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.