Click here to Skip to main content
15,914,452 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Costing terrain paths Pin
Kevnar9-Nov-06 6:05
Kevnar9-Nov-06 6:05 
GeneralRe: Costing terrain paths Pin
ricecake9-Nov-06 6:46
ricecake9-Nov-06 6:46 
GeneralRe: Costing terrain paths Pin
Kevnar9-Nov-06 7:14
Kevnar9-Nov-06 7:14 
GeneralRe: Costing terrain paths Pin
ricecake9-Nov-06 7:21
ricecake9-Nov-06 7:21 
GeneralRe: Costing terrain paths Pin
Kevnar9-Nov-06 7:31
Kevnar9-Nov-06 7:31 
GeneralRe: Costing terrain paths Pin
ejuanpp9-Nov-06 3:43
ejuanpp9-Nov-06 3:43 
GeneralRe: Costing terrain paths Pin
Kevnar9-Nov-06 4:13
Kevnar9-Nov-06 4:13 
QuestionBeginners question? Where does the exact double value go? Pin
ClockDivider8-Nov-06 6:48
ClockDivider8-Nov-06 6:48 
Hello, I have a strange problem, but probably it is because i am lacking knowledge, but what?

When debugging this:


double dTryThis = 1.23456789;


the debuggers variable watch shows this value for dTryThis:


1.234567889999999


instead of the expected 1.234567890000000! Confused | :confused: And so is the wrong value used for further calculations! Is my computer sick or am I or what? I am on Visual Studio 2005 C++.

Thanks a lot for your help!

Martin...
AnswerRe: Beginners question? Where does the exact double value go? Pin
Rob Graham8-Nov-06 7:09
Rob Graham8-Nov-06 7:09 
GeneralRe: Beginners question? Where does the exact double value go? Pin
Dan Neely8-Nov-06 7:24
Dan Neely8-Nov-06 7:24 
GeneralRe: Beginners question? Where does the exact double value go? Pin
ClockDivider8-Nov-06 8:15
ClockDivider8-Nov-06 8:15 
QuestionScaling - help me Pin
dharani7-Nov-06 0:06
dharani7-Nov-06 0:06 
AnswerRe: Scaling - help me Pin
Jörgen Sigvardsson7-Nov-06 13:02
Jörgen Sigvardsson7-Nov-06 13:02 
GeneralBresenhams algorithm for drawing lines Pin
Jörgen Sigvardsson6-Nov-06 12:59
Jörgen Sigvardsson6-Nov-06 12:59 
GeneralRe: Bresenhams algorithm for drawing lines Pin
Luc Pattyn6-Nov-06 13:43
sitebuilderLuc Pattyn6-Nov-06 13:43 
GeneralRe: Bresenhams algorithm for drawing lines Pin
Jörgen Sigvardsson6-Nov-06 14:03
Jörgen Sigvardsson6-Nov-06 14:03 
GeneralRe: Bresenhams algorithm for drawing lines Pin
Bassam Abdul-Baki6-Nov-06 13:45
professionalBassam Abdul-Baki6-Nov-06 13:45 
GeneralRe: Bresenhams algorithm for drawing lines Pin
Jörgen Sigvardsson6-Nov-06 14:09
Jörgen Sigvardsson6-Nov-06 14:09 
GeneralRe: Bresenhams algorithm for drawing lines Pin
Michael Dunn7-Nov-06 15:27
sitebuilderMichael Dunn7-Nov-06 15:27 
QuestionNearest neighbour algorithm Pin
Islam Khalil Saber6-Nov-06 4:33
Islam Khalil Saber6-Nov-06 4:33 
AnswerRe: Nearest neighbour algorithm Pin
ejuanpp6-Nov-06 4:54
ejuanpp6-Nov-06 4:54 
GeneralRe: Nearest neighbour algorithm Pin
Islam Khalil Saber6-Nov-06 13:13
Islam Khalil Saber6-Nov-06 13:13 
QuestionTravelling Salesman Problem Pin
and_reas5-Nov-06 23:11
and_reas5-Nov-06 23:11 
AnswerRe: Travelling Salesman Problem Pin
Just me at will_george...something6-Nov-06 6:01
Just me at will_george...something6-Nov-06 6:01 
GeneralRe: Travelling Salesman Problem Pin
Steve S7-Nov-06 1:03
Steve S7-Nov-06 1:03 

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.