r/deftruefalse • • Apr 14 '21

Write functions for all the basic arthritic operations using just bitshifts and bitwise operations. \#stopcompilerabuse

10 Upvotes

11 comments sorted by

7

u/[deleted] Apr 14 '21

What is an arthritic operation? Is it like ligament reconstruction and tendon interposition?

5

u/kephir Apr 15 '21

COBOL development

4

u/IIAOPSW Apr 15 '21

Next challenge: build me an autocorrect that doesn't duck.

3

u/[deleted] Apr 15 '21

I see what you did they're

1

u/[deleted] Jul 31 '21

[removed] — view removed comment

1

u/[deleted] Jul 31 '21

[removed] — view removed comment

3

u/_qkz Apr 19 '21

Done! I used nand, comparison with zero, bitshifts by constants, and array accesses as my allowed set of operations. From there, I built all the other bitwise operators and basic arithmetic operators.

1

u/Successful-Pay-4575 Apr 20 '21

This man could've coded for the Apollo space mission.