How to Change REAL*4 Numbers to REAL*8 Values in DebuggerLast reviewed: March 8, 1996Article ID: Q148193 |
The information in this article applies to:
SUMMARYWhen you want to change a REAL*8 variable's single-precision value in the debugger to a number greater than the maximum positive or negative value allowed for single-precision numbers, you must use the "D" exponent descriptor.
MORE INFORMATIONAll REAL variables are initially expressed with the single-precision "E" exponent descriptor in the debugger. To change the value of a REAL*8 variable containing a single-precision number to a double-precision number, increase the size of the exponent, and change the "E" exponent descriptor to the "D" exponent descriptor.
Step-by-Step Example
Sample CodeC Compile options needed: /Zi
real*8 Single Single = 3.40E+38 end |
Additional reference words: kbinf 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |