Click here to Skip to main content
16,015,077 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Measuring CPU usage ( from ticks to %) Pin
krystian_pl14-Nov-06 20:33
krystian_pl14-Nov-06 20:33 
GeneralRe: Measuring CPU usage ( from ticks to %) Pin
ejuanpp14-Nov-06 21:36
ejuanpp14-Nov-06 21:36 
QuestionRe: Measuring CPU usage ( from ticks to %) Pin
David Crow5-Dec-06 5:26
David Crow5-Dec-06 5:26 
QuestionDivision Algorithm Pin
Bagaturia david13-Nov-06 0:06
Bagaturia david13-Nov-06 0:06 
AnswerRe: Division Algorithm Pin
Sebastian Schneider13-Nov-06 2:05
Sebastian Schneider13-Nov-06 2:05 
GeneralRe: Division Algorithm Pin
Sebastian Schneider13-Nov-06 2:07
Sebastian Schneider13-Nov-06 2:07 
QuestionRe: Division Algorithm Pin
Are Jay21-Nov-06 17:39
Are Jay21-Nov-06 17:39 
AnswerRe: Division Algorithm Pin
Bagaturia david22-Nov-06 0:44
Bagaturia david22-Nov-06 0:44 
"Interested?"
Yes I am.

About your problem:
Use integer division for your non integer Number.
Ex:

121/11 = 11 if 1.21/11 = (121/11)*0.01
or
14/3 = 4+2/3 = 4+(20/3)*0.1 = 4+(6+2/3)*0.1 = 4+(6+(20/3)*0.1)*0.1=
=...=4+0.6+0.06+0.006+0.0006+.....
it is idea and math.I hope you like this.Smile | :)
Can you send my division algorithm?



GeneralRe: Division Algorithm Pin
Are Jay22-Nov-06 3:34
Are Jay22-Nov-06 3:34 
GeneralRe: Division Algorithm Pin
Are Jay24-Nov-06 21:28
Are Jay24-Nov-06 21:28 
AnswerRe: Division Algorithm Pin
djlove24-Nov-06 7:21
djlove24-Nov-06 7:21 
AnswerRe: Division Algorithm Pin
Dan21786-Dec-06 19:01
Dan21786-Dec-06 19:01 
Questionhelp me with binary search Pin
MaSTaMaRViN12-Nov-06 23:09
MaSTaMaRViN12-Nov-06 23:09 
AnswerRe: help me with binary search Pin
Tim Craig13-Nov-06 19:50
Tim Craig13-Nov-06 19:50 
AnswerRe: help me with binary search Pin
David Crow5-Dec-06 5:36
David Crow5-Dec-06 5:36 
GeneralRe: help me with binary search Pin
ricecake6-Dec-06 3:53
ricecake6-Dec-06 3:53 
GeneralWell and truly sorted Pin
intrepid_is12-Nov-06 5:58
intrepid_is12-Nov-06 5:58 
GeneralRe: Well and truly sorted Pin
peterchen12-Nov-06 8:14
peterchen12-Nov-06 8:14 
GeneralRe: Well and truly sorted Pin
intrepid_is12-Nov-06 11:43
intrepid_is12-Nov-06 11:43 
QuestionRe: Well and truly sorted Pin
David Crow5-Dec-06 5:37
David Crow5-Dec-06 5:37 
AnswerRe: Well and truly sorted Pin
peterchen5-Dec-06 17:01
peterchen5-Dec-06 17:01 
QuestionSetFileTime Pin
toeh11-Nov-06 23:09
toeh11-Nov-06 23:09 
AnswerRe: SetFileTime Pin
coolestCoder12-Nov-06 0:16
coolestCoder12-Nov-06 0:16 
Questionvb6 algorithm Pin
irwansmadaxip110-Nov-06 11:57
irwansmadaxip110-Nov-06 11:57 
AnswerRe: vb6 algorithm Pin
Tim Craig10-Nov-06 17:16
Tim Craig10-Nov-06 17:16 

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.