Bitwise operations in gimkit

I mean, this is more along the lines of what I was thinking:

101101110101 + 101000011111 = 202101121212

202101121212 = 202000020202

202000020202/2 = 101000010101

AND operation complete

Just need a way to do that 2nd step


On the other hand, we could also do this instead:

202101121212 = 212111121212

202000020202 - (10^(x + 1) - 1)/9 = 202000020202 - 111111111111 = 101000010101

Smartest way to be dumb lol. How is 0not equal to 0?

3 Likes

Lol. I was giving a strat to remove all 1’s.

Edit: OH NOES I REALIZED WHAT I MISSED

I think it’s a bit more complicated than that, as far as my understanding.

No, getri is right here. 000000 = 0 lol

… I feel dumbfounded

Think about it like this. Numbers aren’t characterized by their digits. They are values. 1s, 2s, and so on are ways that we choose to represent them. So we can’t really have an operation that doesn’t use loops that does do stuff based on digits.

Hm, this is interesting. I’ll take a further look into doing this once I finish the math work I’m procrastinating right now.
And yes, I procrastinate math by doing different (arguably harder) math.

1 Like

As don’t we all. I’m doing this bitwise math instead of Algebra 2 homework.

Same bro I make desmos graphs in my free time and I gotta work on a project

1 Like

I know more coding than you think I do. I’ve made seveal games that have succeeded. Still, I ask for help because I don’t have the time, not because I don’t know how to do things. Back on topic…

completely true, but if we somehow were able to make it work…

There are some strange math patterns sometimes so idk

Actually same, I am kinda typing this during math class-

Oh wait I got an idea.
Is it possible to segment the numbers into several parts and check each one at once? (multiprocessing)

That just splits it into shorter numbers, until we consider 1 digit at a altimeter, when we would use a loop.

ok, so what exactly do you need hlp with
(im kinda bad with logs soo.)
Also, are you using blcoks, or are you coding another thing entirely

Uhhh… yeah that seems possible. The main limitation here though would be the size of the segments, as you would have to make up to 32 segments in this situation… and then trigger them… and yeah as getri pointed out this makes the equivalent of a loop.

Yeah but we could run multiple of said loops at once then.

Black hole, you might want to put everything into one post so that we don’t explain everything every single time someone asks what’s happening here.

Sorry, I just don’t really understand whatpeople are asking in this help potst