Click here to Skip to main content
15,904,494 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncomparing two double values Pin
KASR111-Oct-07 21:34
KASR111-Oct-07 21:34 
AnswerRe: comparing two double values Pin
chandu00411-Oct-07 21:36
chandu00411-Oct-07 21:36 
GeneralRe: comparing two double values Pin
KASR111-Oct-07 21:39
KASR111-Oct-07 21:39 
GeneralRe: comparing two double values Pin
chandu00411-Oct-07 21:41
chandu00411-Oct-07 21:41 
GeneralRe: comparing two double values Pin
KASR111-Oct-07 21:44
KASR111-Oct-07 21:44 
GeneralRe: comparing two double values Pin
chandu00411-Oct-07 21:45
chandu00411-Oct-07 21:45 
GeneralRe: comparing two double values Pin
David Crow12-Oct-07 3:02
David Crow12-Oct-07 3:02 
GeneralJust curiosity Pin
Nelek12-Oct-07 3:53
protectorNelek12-Oct-07 3:53 
This is faster than my solution on any case, but... would it work using the function I wrote below rounding the decimals up to a Nth position?

Or will it give problems because of the internal structure of "double"?

I have just used my function to limit the numbers that had to be updated to the screen, due to place problems, not to do comparisons.



Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

Wink | ;)

GeneralRe: Just curiosity Pin
David Crow12-Oct-07 4:05
David Crow12-Oct-07 4:05 
AnswerRe: comparing two double values Pin
Nibu babu thomas11-Oct-07 21:44
Nibu babu thomas11-Oct-07 21:44 
GeneralRe: comparing two double values Pin
David Crow12-Oct-07 3:19
David Crow12-Oct-07 3:19 
AnswerRe: comparing two double values Pin
Nelek12-Oct-07 1:03
protectorNelek12-Oct-07 1:03 
QuestionSearchin hex arry Pin
aamir ali11-Oct-07 21:10
aamir ali11-Oct-07 21:10 
AnswerRe: please help Pin
chandu00411-Oct-07 21:22
chandu00411-Oct-07 21:22 
QuestionRe: please help Pin
CPallini11-Oct-07 22:07
mveCPallini11-Oct-07 22:07 
AnswerRe: Searchin hex arry Pin
jhwurmbach11-Oct-07 23:22
jhwurmbach11-Oct-07 23:22 
AnswerRe: Searching hex array Pin
chandu00412-Oct-07 0:57
chandu00412-Oct-07 0:57 
QuestionFlow is not passing in a worker thread Pin
neha.agarwal2711-Oct-07 21:08
neha.agarwal2711-Oct-07 21:08 
AnswerRe: Flow is not passing in a worker thread Pin
Karismatic11-Oct-07 21:29
Karismatic11-Oct-07 21:29 
AnswerRe: Flow is not passing in a worker thread Pin
chandu00411-Oct-07 21:41
chandu00411-Oct-07 21:41 
GeneralRe: Flow is not passing in a worker thread Pin
neha.agarwal2711-Oct-07 21:45
neha.agarwal2711-Oct-07 21:45 
GeneralRe: Flow is not passing in a worker thread Pin
chandu00411-Oct-07 21:59
chandu00411-Oct-07 21:59 
GeneralRe: Flow is not passing in a worker thread Pin
neha.agarwal2711-Oct-07 23:11
neha.agarwal2711-Oct-07 23:11 
GeneralRe: Flow is not passing in a worker thread Pin
chandu00411-Oct-07 23:24
chandu00411-Oct-07 23:24 
GeneralRe: Flow is not passing in a worker thread Pin
chandu00412-Oct-07 3:15
chandu00412-Oct-07 3:15 

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.