Precision problem
From: Raghuram (anonymous_at_discussions.microsoft.com)
Date: 05/11/04
- Next message: songie D: "Re: size_t / long"
- Previous message: Doug Harrison [MVP]: "Re: Static member functions in VC"
- Next in thread: songie D: "Re: Precision problem"
- Reply: songie D: "Re: Precision problem"
- Reply: Carl Daniel [VC++ MVP]: "Re: Precision problem"
- Reply: Scott McPhillips [MVP]: "Re: Precision problem"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: songie D: "Re: size_t / long"
- Previous message: Doug Harrison [MVP]: "Re: Static member functions in VC"
- Next in thread: songie D: "Re: Precision problem"
- Reply: songie D: "Re: Precision problem"
- Reply: Carl Daniel [VC++ MVP]: "Re: Precision problem"
- Reply: Scott McPhillips [MVP]: "Re: Precision problem"
- Messages sorted by: [ date ] [ thread ]