Forums - Open Redstone Engineers
Reverse double dabble - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: ORE General (https://forum.openredstone.org/forum-39.html)
+--- Forum: Build Discussion (https://forum.openredstone.org/forum-50.html)
+--- Thread: Reverse double dabble (/thread-9032.html)



Reverse double dabble - David - 01-05-2016

Hello there, not sure where to post this but whatever.

For a user input I'd like to convert from BCD to binary. Now obviously I could multiply the number in the 100's place by 100 and add it to the number in the 10's place multipleid by 10 and then add that to the number in the 1's place, but I'd like to know if it would be more efficient to reverse the double dabble algorithm. Is this even possible? If so, what would be the defenition of the reverse double dabble algorithm?

Thanks!

-David


RE: Reverse double dabble - Nuuppanaani - 01-05-2016




Is this what you're looking for?

Edit: the embedded video doesn't show for me at least, here's the link: https://www.youtube.com/watch?v=Cklpvkiynic


RE: Reverse double dabble - David - 01-05-2016

Thanks!