Click here to Skip to main content
15,885,435 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: App Loading Pin
john56324-Mar-10 1:11
john56324-Mar-10 1:11 
AnswerRe: App Loading Pin
Paresh Chitte4-Mar-10 1:12
Paresh Chitte4-Mar-10 1:12 
AnswerRe: App Loading Pin
Eugen Podsypalnikov4-Mar-10 2:01
Eugen Podsypalnikov4-Mar-10 2:01 
AnswerRe: App Loading Pin
David Crow4-Mar-10 2:39
David Crow4-Mar-10 2:39 
QuestionStrange behaviour with numeric_limits<double>::quiet_NaN () Pin
Sylv333-Mar-10 23:41
Sylv333-Mar-10 23:41 
AnswerRe: Strange behaviour with numeric_limits::quiet_NaN () [modified] Pin
Adam Roderick J4-Mar-10 0:09
Adam Roderick J4-Mar-10 0:09 
AnswerRe: Strange behaviour with numeric_limits::quiet_NaN () Pin
CPallini4-Mar-10 0:22
mveCPallini4-Mar-10 0:22 
GeneralRe: Strange behaviour with numeric_limits::quiet_NaN () Pin
Sylv334-Mar-10 0:39
Sylv334-Mar-10 0:39 
Thanks to the both of you for the explanation!

I ending up changing all the relevant code to use isnan(f) instead of direct comparisons and everything works fine now but I was still wondering why a direct comparison with a NaN always returned 0 on my compiler.

Now I understand!
Big Grin | :-D
QuestionDesign OSI Layer in C++ Pin
Game-point3-Mar-10 22:25
Game-point3-Mar-10 22:25 
AnswerRe: Design OSI Layer in C++ Pin
Cedric Moonen3-Mar-10 22:38
Cedric Moonen3-Mar-10 22:38 
QuestionVideo Encoding... Pin
R@jeev K R3-Mar-10 21:17
R@jeev K R3-Mar-10 21:17 
AnswerRe: Video Encoding... Pin
Code-o-mat3-Mar-10 21:39
Code-o-mat3-Mar-10 21:39 
GeneralRe: Video Encoding... Pin
R@jeev K R3-Mar-10 22:12
R@jeev K R3-Mar-10 22:12 
AnswerRe: Video Encoding... Pin
KingsGambit3-Mar-10 21:43
KingsGambit3-Mar-10 21:43 
GeneralRe: Video Encoding... Pin
R@jeev K R3-Mar-10 22:17
R@jeev K R3-Mar-10 22:17 
GeneralRe: Video Encoding... Pin
KingsGambit3-Mar-10 22:52
KingsGambit3-Mar-10 22:52 
GeneralRe: Video Encoding... Pin
R@jeev K R3-Mar-10 23:05
R@jeev K R3-Mar-10 23:05 
QuestionMFC treeview in a listview [modified] Pin
yvanc3-Mar-10 20:38
yvanc3-Mar-10 20:38 
AnswerRe: MFC treeview in a listview Pin
john56324-Mar-10 0:21
john56324-Mar-10 0:21 
QuestionHWND of Dialog Pin
john56323-Mar-10 20:18
john56323-Mar-10 20:18 
AnswerRe: HWND of Dialog Pin
normanS3-Mar-10 20:28
normanS3-Mar-10 20:28 
AnswerRe: HWND of Dialog Pin
CPallini3-Mar-10 20:42
mveCPallini3-Mar-10 20:42 
AnswerRe: HWND of Dialog Pin
Maximilien4-Mar-10 3:17
Maximilien4-Mar-10 3:17 
Questionsaving dibsectionbits into avi?? Pin
Kiran Satish3-Mar-10 18:54
Kiran Satish3-Mar-10 18:54 
AnswerRe: saving dibsectionbits into avi?? Pin
normanS3-Mar-10 20:38
normanS3-Mar-10 20:38 

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.