Precision problem

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Raghuram (anonymous_at_discussions.microsoft.com)
Date: 05/11/04


Date: Tue, 11 May 2004 13:01:06 -0700

Hi Ng,
 I am developing engineering software which is using floating point arithmetic widely. I am showing some of the calculated results in some spread ***. The spread *** only accepts the string entries so that i am converting it to string using gcvt() and sprintf() etc. After this some precision loss is happening. In VC debugger it shows the exact values but my converted string shows different though it is minute but undesirable. How the VC debugger shows it correctly?
How can I get the exact value as VC++ debugger?
I would appreciate any kind of help

Thanks
Regards
Raghuram.K


Quantcast