Click here to Skip to main content
15,898,995 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: algorithm to get each individual digit from a decimal number (integer) Pin
ant-damage18-May-10 11:41
ant-damage18-May-10 11:41 
GeneralRe: algorithm to get each individual digit from a decimal number (integer) Pin
Luc Pattyn18-May-10 11:43
sitebuilderLuc Pattyn18-May-10 11:43 
GeneralRe: algorithm to get each individual digit from a decimal number (integer) Pin
Luc Pattyn18-May-10 13:20
sitebuilderLuc Pattyn18-May-10 13:20 
GeneralRe: algorithm to get each individual digit from a decimal number (integer) Pin
Tadeusz Westawic24-Jun-10 4:31
Tadeusz Westawic24-Jun-10 4:31 
GeneralRe: algorithm to get each individual digit from a decimal number (integer) Pin
Luc Pattyn24-Jun-10 4:49
sitebuilderLuc Pattyn24-Jun-10 4:49 
AnswerRe: algorithm to get each individual digit from a decimal number (integer) Pin
CPallini17-May-10 22:42
mveCPallini17-May-10 22:42 
GeneralRe: algorithm to get each individual digit from a decimal number (integer) Pin
Luc Pattyn18-May-10 1:23
sitebuilderLuc Pattyn18-May-10 1:23 
GeneralRe: algorithm to get each individual digit from a decimal number (integer) Pin
CPallini18-May-10 1:39
mveCPallini18-May-10 1:39 
Luc Pattyn wrote:
unfortunately that is not an algorithm, nor the name of an algorithm.

I know. Sleepy | :zzz:

Luc Pattyn wrote:
almost any microprocessor vendor or open source kernel offers one.

That's the point, there's no need to look at the function implementation details (well, actually there is "curiosity"), my suggestion was: "use sprintf" that is already optimized (the algorithm then becomes trivial, just subtract '0' to every character...).
Smile | :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: algorithm to get each individual digit from a decimal number (integer) Pin
theCPkid18-May-10 1:50
theCPkid18-May-10 1:50 
GeneralRe: algorithm to get each individual digit from a decimal number (integer) Pin
CPallini18-May-10 1:54
mveCPallini18-May-10 1:54 
GeneralRe: algorithm to get each individual digit from a decimal number (integer) Pin
ant-damage18-May-10 9:01
ant-damage18-May-10 9:01 
QuestionRe: algorithm to get each individual digit from a decimal number (integer) Pin
CPallini18-May-10 10:01
mveCPallini18-May-10 10:01 
AnswerRe: algorithm to get each individual digit from a decimal number (integer) Pin
ant-damage18-May-10 10:25
ant-damage18-May-10 10:25 
QuestionUnique number from two numbers [modified] Pin
theCPkid15-May-10 2:58
theCPkid15-May-10 2:58 
AnswerRe: Unique number from two numbers Pin
Luc Pattyn15-May-10 4:18
sitebuilderLuc Pattyn15-May-10 4:18 
GeneralRe: Unique number from two numbers Pin
theCPkid15-May-10 5:02
theCPkid15-May-10 5:02 
GeneralRe: Unique number from two numbers Pin
Som Shekhar15-May-10 5:15
Som Shekhar15-May-10 5:15 
GeneralRe: Unique number from two numbers [modified] Pin
harold aptroot15-May-10 5:21
harold aptroot15-May-10 5:21 
GeneralRe: Unique number from two numbers Pin
Luc Pattyn15-May-10 5:34
sitebuilderLuc Pattyn15-May-10 5:34 
GeneralRe: Unique number from two numbers Pin
harold aptroot15-May-10 5:37
harold aptroot15-May-10 5:37 
GeneralRe: Unique number from two numbers Pin
Luc Pattyn15-May-10 5:40
sitebuilderLuc Pattyn15-May-10 5:40 
GeneralRe: Unique number from two numbers Pin
theCPkid15-May-10 5:47
theCPkid15-May-10 5:47 
GeneralRe: Unique number from two numbers Pin
harold aptroot15-May-10 5:49
harold aptroot15-May-10 5:49 
GeneralRe: Unique number from two numbers Pin
Luc Pattyn15-May-10 5:53
sitebuilderLuc Pattyn15-May-10 5:53 
GeneralRe: Unique number from two numbers Pin
theCPkid15-May-10 5:41
theCPkid15-May-10 5:41 

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.