Schrodinger's fish

From Esolang
Jump to navigation Jump to search

this is combination of deadfish and alivefish

commands

s, square
S, square root, also works for negative numbers
i, increment
I, integral the previous values and the thing will be that
d, decrement
D, double the thing
o, output
O, input

test programs

Oo #should be cat
ODo #should be double cat, not two letters of cat, but just get number, and double it and output
dio #should output 0+1i