Bitwise operations in gimkit

This is completely ridiculous how did you find those

2 Likes

math stack exchange

4 Likes

Ah, stack exchange, known for being home to the world’s biggest :nerd:s

7 Likes

I’m currently trying to recreate results found here, but with not very sucessful results.

4 Likes

oh i already did that

5 Likes

Which one?

2 Likes

Brainf***

3 Likes

Oh, I meant like Python or something.

2 Likes

Haha no way, python is such a complex language to recreate.

4 Likes

Theoretically you could, though, right?

2 Likes

Yeah, in theory. The memory limits are small enough though that I can say it would be almost impossible if not impossible in the current state of GKC to make.

5 Likes

Well, that’s kind of good. @Cavaire3D is going to try to make a 3D graphing calculator in 2D gimkit using their GUI :skull:

7 Likes

Wow, thats alot lol

4 Likes

Can you specify what the and operator does?

2 Likes

Basically, it checks if both bits in that position in both strings are 1, if so the bit in the combined string is 1 and if not, the bit is set to 0.

1 Like

In what position?

4 Likes

It checks every position. Did you read the Wikipedia page at the top?

1 Like

That might be a good idea

4 Likes

By the way, here is why the solution with the loop does not work:


There is no way this code will run fast enough

5 Likes

Just a question, what is this supposed to do again?

1 Like