(15C) another approach to decimal <> binary conversion

12012017, 08:48 AM
Post: #3




RE: (15C) another approach to decimal <> binary conversion
(11302017 07:50 PM)Dieter Wrote: And finally... what about a version that returns a result in the correct order ?)Thanks for your comments, especially about label use; I clearly can learn something there (and in many other areas). I do have the algorithm for computing the result in the right order on paper (maybe not the most efficient one, using the fact that 10^int(2log(n)) puts the "1 in the right place") but real life is interfering right now, so I'll have to code (and improve) that at a later time. I am sure there are more efficient algorithms, and also programs for "base n to base m" conversions. So if this was a real world problem, I would do some literature search first. But the learning experience is fun 

« Next Oldest  Next Newest »

Messages In This Thread 
(15C) another approach to decimal <> binary conversion  jthole  11292017, 10:32 AM
RE: (15C) another approach to decimal <> binary conversion  Dieter  11302017, 07:50 PM
RE: (15C) another approach to decimal <> binary conversion  jthole  12012017 08:48 AM
RE: (15C) another approach to decimal <> binary conversion  Thomas Klemm  09012018, 06:16 PM

User(s) browsing this thread: 1 Guest(s)