Timeline for "Hello world" that creates a different "Hello world" program
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 26, 2021 at 23:43 | comment | added | Samuel Waller | you are correct, the conversion method from binary to Gray code is by xoring each digit with the one to the left of it, which is similar enough to what you are doing I got confused. Still, nice answer! | |
Feb 26, 2021 at 23:15 | comment | added | Ilmari Karonen | @SamuelWaller: This isn't actually Gray code. In Gray code only one bit would flip on each iteration and it would take 1024 iterations for the 10-bit sequence to loop back to its starting value. My sequence satisfies neither of those properties. | |
Feb 26, 2021 at 22:03 | comment | added | Samuel Waller | This is the "gray code" (wiki link here). I originally was going to use this for my answer, but I couldn't see how I could possibly make it short. Nicely done | |
Nov 6, 2015 at 18:34 | history | edited | Ilmari Karonen | CC BY-SA 3.0 |
added 998 characters in body
|
Nov 6, 2015 at 3:15 | history | edited | Ilmari Karonen | CC BY-SA 3.0 |
added 83 characters in body
|
Nov 6, 2015 at 3:08 | history | answered | Ilmari Karonen | CC BY-SA 3.0 |