Re: Division inconsistent between Debug/Release builds
From: John C. Kirk (jkirk_at_pmsi-consulting.com)
Date: 01/05/05
- Next message: Plem: "RE: Need help on UDPclient.receive"
- Previous message: Noggin The Nog: "Re: Set doesn't run when accessing a property that is an object"
- In reply to: Gerald Hernandez: "Re: Division inconsistent between Debug/Release builds"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 5 Jan 2005 14:19:10 -0000
> In addition to Mattias' suggestion on understanding what might be going
> on...
> I would also recommend explicitly defining what you want it to do.
Thanks to both of you for the advice on that. I've found a workaround, so
that aspect isn't a major problem, it's more the different behaviour that
was bothering me.
> As far as the difference between modes, this is entirely possible.
> You have various amounts of precision available. I am not certain what
> exactly is going on in each scenario, but it does not surprise me they are
> different. This is common, even expected, behaviour when dealing with
> floating point variables.
I know that Debug and Release modes actually generate different MSIL, so I
can accept them giving different results (although it's annoying). But is
there any advantage at all to running in Release mode inside the IDE? It
doesn't help you for testing, since you won't necessarily get the same
results as end users. And it won't help you to isolate errors, since you
can't break into the source code. The only advantage I can see is that it's
easier to click the "run" toolbar button than to browse for the file in
Explorer and double-click on it there, but surely that's just a question of
how the toolbar button code is implemented?
John
- Next message: Plem: "RE: Need help on UDPclient.receive"
- Previous message: Noggin The Nog: "Re: Set doesn't run when accessing a property that is an object"
- In reply to: Gerald Hernandez: "Re: Division inconsistent between Debug/Release builds"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|