Click here to Skip to main content
15,921,941 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Com Interop Pin
Nick Parker15-Feb-04 4:24
protectorNick Parker15-Feb-04 4:24 
QuestionUser Control as a Form Container? Pin
JerryTanski12-Feb-04 10:14
JerryTanski12-Feb-04 10:14 
AnswerRe: User Control as a Form Container? Pin
John Kuhn12-Feb-04 17:56
John Kuhn12-Feb-04 17:56 
GeneralFloatToInt32Bits and Int32BitsToFloat Pin
Paul Selormey11-Feb-04 17:06
Paul Selormey11-Feb-04 17:06 
Generaldata Binding Pin
CSharpDavid11-Feb-04 10:17
CSharpDavid11-Feb-04 10:17 
GeneralRe: data Binding Pin
John Kuhn11-Feb-04 17:00
John Kuhn11-Feb-04 17:00 
GeneralControling the sort of datetimes in a DataGrid Pin
KC@CodeProject11-Feb-04 5:15
KC@CodeProject11-Feb-04 5:15 
GeneralFloating point error in .NET Pin
eparkes10-Feb-04 6:25
eparkes10-Feb-04 6:25 
Anyone else notice that something like:

for(double a=0.0; a<=7.11; a=a+0.01)
{
for(double b=0.0; b<=7.11; b=b+0.01)
{
if( 7.11==(a+b) )
{
// Something interesting!
}
}
}

causes floating point errors? That is, the variable "a" will go from say .79 to .800000001?

Don't try using Console.WriteLine() as it will print the text as .80 but use the debugger's quick watch. And I know the internal variable is .80000001 because the "if" fails to ever catch.

I'm using a PIII and have tested for the Intel division floating pointing error and there is none. Using VS.Net 2003, but did try equivalent code in VS 6.0 and it worked fine.


GeneralRe: Floating point error in .NET Pin
Colin Angus Mackay10-Feb-04 6:46
Colin Angus Mackay10-Feb-04 6:46 
GeneralRe: Floating point error in .NET Pin
Nick Parker10-Feb-04 8:35
protectorNick Parker10-Feb-04 8:35 
GeneralRe: Floating point error in .NET Pin
Colin Angus Mackay10-Feb-04 12:47
Colin Angus Mackay10-Feb-04 12:47 
GeneralRe: Floating point error in .NET Pin
Nick Parker10-Feb-04 8:33
protectorNick Parker10-Feb-04 8:33 
GeneralDatabase connectivity for J# browser Controls Pin
8-Feb-04 23:08
suss8-Feb-04 23:08 
GeneralReal Time Loops in Managed C++ .NET Pin
Tank_Aviator8-Feb-04 11:49
Tank_Aviator8-Feb-04 11:49 
GeneralProblems with a text box & changing alignment in the leave event. Pin
adarobwpg7-Feb-04 21:03
adarobwpg7-Feb-04 21:03 
GeneralRe: Problems with a text box &amp; changing alignment in the leave event. Pin
Gerald Leslie Jones10-Feb-04 1:32
Gerald Leslie Jones10-Feb-04 1:32 
GeneralRe: Problems with a text box &amp; changing alignment in the leave event. Pin
Steve S10-Feb-04 1:40
Steve S10-Feb-04 1:40 
GeneralProblem setting enum field value using Remoting Pin
claughlin6-Feb-04 6:16
claughlin6-Feb-04 6:16 
GeneralRe: Problem setting enum field value using Remoting Pin
Gerald Leslie Jones10-Feb-04 1:23
Gerald Leslie Jones10-Feb-04 1:23 
GeneralRe: Problem setting enum field value using Remoting Pin
ClarkLaughlin10-Feb-04 5:15
ClarkLaughlin10-Feb-04 5:15 
GeneralProblems with the .Net forms designer Pin
Christian Skovdal Andersen6-Feb-04 1:55
Christian Skovdal Andersen6-Feb-04 1:55 
Generalmaking a slow progam run faster Pin
Tank_Aviator5-Feb-04 19:31
Tank_Aviator5-Feb-04 19:31 
GeneralRe: making a slow progam run faster Pin
Corinna John8-Feb-04 21:27
Corinna John8-Feb-04 21:27 
GeneralRaw Sockets with TCP in C# Pin
Andy *M*5-Feb-04 13:00
Andy *M*5-Feb-04 13:00 
GeneralGUID_NULL identifier not found error... Pin
adonisv5-Feb-04 9:51
adonisv5-Feb-04 9:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.