Replying to Avatar kirby

nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqqshd3qvuuu05378ahrfjdrqvjy9fvv09k62meayggwlut2et3r4s37p39j i've got this algorithm that tries to manually print out a binary representation of a decimal number but it's generating the binary digits backwards

nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqe7tfl29trd72psa586gqh8yjkuv64wgcxdag6eummyhkwydxlc9q8tlk0m oh yeah you need to flip them because the division remainders are the smallest binary digits, not the largest digits.

Reply to this note

Please Login to reply.

Discussion

No replies yet.