Click here to Skip to main content
15,891,864 members
Home / Discussions / C#
   

C#

 
QuestionGetting the IP address(es) of a network interface when all you have is the "friendly interface name" Pin
Vengeful Emus21-Jun-09 12:43
Vengeful Emus21-Jun-09 12:43 
QuestionHow catch/get windows file's thumbnail? Pin
jamesband00721-Jun-09 10:10
jamesband00721-Jun-09 10:10 
AnswerRe: How catch/get windows file's thumbnail? Pin
Christian Graus21-Jun-09 10:50
protectorChristian Graus21-Jun-09 10:50 
GeneralRe: How catch/get windows file's thumbnail? Pin
Jan Kučera2-Aug-09 21:16
Jan Kučera2-Aug-09 21:16 
QuestionProject of component at design time Pin
Hans Ruck21-Jun-09 9:20
Hans Ruck21-Jun-09 9:20 
AnswerRe: Project of component at design time Pin
Christian Graus21-Jun-09 10:02
protectorChristian Graus21-Jun-09 10:02 
QuestionChanging whats displyed on a page in a Webbrowser Control. [modified] Pin
Beijer21-Jun-09 6:52
Beijer21-Jun-09 6:52 
QuestionEquality of floating point numbers Pin
Wags21-Jun-09 5:52
professionalWags21-Jun-09 5:52 
Okay, I think that I understand the issues affecting C# equality testing (including numerical precision, type conversions, boxing etc) - e.g. http://blogs.msdn.com/jmstall/archive/2005/03/09/390135.aspx[^] - but I don't understand the statement in MSDN (http://msdn.microsoft.com/en-gb/library/bsc2ak47.aspx[^]):
x.Equals(x) returns true, except in cases that involve floating-point types. See IEC 60559:1989, Binary Floating-point Arithmetic for Microprocessor Systems.

Can anyone please explain? How can this sometimes evaluate to false?
(I couldn't find anything interesting re: IEC 60559:1989 - still Googling though.)

P.S.
double d = Double.NaN;
d.Equals(d); // is still true - although it doesn't have to be under the standard


"...there's what people want to hear, there's what people want to believe, there's everything else, THEN there's the truth!" - New York D.A., The International

AnswerRe: Equality of floating point numbers Pin
Luc Pattyn21-Jun-09 6:24
sitebuilderLuc Pattyn21-Jun-09 6:24 
GeneralRe: Equality of floating point numbers Pin
CPallini21-Jun-09 7:01
mveCPallini21-Jun-09 7:01 
GeneralRe: Equality of floating point numbers Pin
Eddy Vluggen21-Jun-09 7:08
professionalEddy Vluggen21-Jun-09 7:08 
GeneralRe: Equality of floating point numbers Pin
Wags21-Jun-09 7:55
professionalWags21-Jun-09 7:55 
GeneralRe: Equality of floating point numbers [modified] Pin
Luc Pattyn21-Jun-09 8:08
sitebuilderLuc Pattyn21-Jun-09 8:08 
QuestionCrystal report field strange behaviour Pin
Muammar©21-Jun-09 5:35
Muammar©21-Jun-09 5:35 
AnswerSolved! Pin
Muammar©21-Jun-09 6:19
Muammar©21-Jun-09 6:19 
QuestionDeleted VS component Pin
Hans Ruck21-Jun-09 4:01
Hans Ruck21-Jun-09 4:01 
AnswerRe: Deleted VS component Pin
Henry Minute21-Jun-09 8:00
Henry Minute21-Jun-09 8:00 
GeneralRe: Deleted VS component Pin
Hans Ruck21-Jun-09 8:59
Hans Ruck21-Jun-09 8:59 
QuestionReuseability of controls Pin
Rafone21-Jun-09 3:29
Rafone21-Jun-09 3:29 
AnswerRe: Reuseability of controls Pin
Colin Angus Mackay21-Jun-09 4:12
Colin Angus Mackay21-Jun-09 4:12 
GeneralRe: Reuseability of controls Pin
Rafone21-Jun-09 5:08
Rafone21-Jun-09 5:08 
GeneralRe: Reuseability of controls Pin
Luc Pattyn21-Jun-09 5:25
sitebuilderLuc Pattyn21-Jun-09 5:25 
GeneralRe: Reuseability of controls Pin
Rafone21-Jun-09 7:58
Rafone21-Jun-09 7:58 
GeneralRe: Reuseability of controls Pin
Luc Pattyn21-Jun-09 8:10
sitebuilderLuc Pattyn21-Jun-09 8:10 
QuestionEvent handling in a custom control. Pin
Siddhartha S.21-Jun-09 1:26
Siddhartha S.21-Jun-09 1:26 

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.