intscript icon indicating copy to clipboard operation
intscript copied to clipboard

add POW(**) operator and tests

Open cedric-h opened this issue 5 years ago • 1 comments

In a minute, I'll push an example that uses the POW operator to output a Sierpinski triangle.

cedric-h avatar Dec 09 '19 05:12 cedric-h

Hmm, I'm going to have to be clever about how I write this intcode. I found a solution that doesn't require division or modulo, but it does use nested arrays. I should be able to fake it by having a reference array and another array that stores indexes into it, though.

cedric-h avatar Dec 09 '19 08:12 cedric-h