The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Alloy on October 09, 2005, 12:31:25 PM

Title: Getting Visual Studio Debugger to display floating point?
Post by: Alloy on October 09, 2005, 12:31:25 PM
  I looked though the help files but cannot seem to get the registers window to display floating point values as floating point values instead of exponential. For example 169.0 is shown in a floating point register as +1.6900000000000000e+0002 instead of +169.00000000000000. Is it possible to change this setting? MSDN mentions a few dat files but none seem to work for the registers window.
Title: Re: Getting Visual Studio Debugger to display floating point?
Post by: GregL on October 09, 2005, 06:18:00 PM
Alloy,

I'm not aware of any way to change that. It seems FPU registers and REAL10 variables are always displayed in scientific notation whether in the Registers window or the Watch window. Even trying to force it in the Watch window with '@ST0,f' doesn't change it. REAL8 and REAL4 variables will display in floating-point format. You just have to get used to reading the FPU registers and REAL10 variables in scientific notation.

Title: Re: Getting Visual Studio Debugger to display floating point?
Post by: Alloy on October 09, 2005, 07:35:37 PM
Thanks Greg.