Subj : Re: what's difference between release and debug compiler in MS vc6.0? To : comp.programming From : Gene Date : Mon Oct 10 2005 12:16 pm Floating point ops in particular can be slightly different with vs. without optimization on some compilers. In particular this happens with 80x86 FPU internal extended precision (10 byte float) computations are enabled: then you can get different answers depending on whether a computation was done entirely in the FPU stack vice not. I don't know if VC uses extended precision. But it's more likely as has been proposed by other folks, that you have an uninitialized variable. Gene .