mini calculator on P2, written with FLEXC

in Propeller 2
loadp2 -t -b230400 -p/dev/ttyUSB0 evalc.binary ( Entering terminal mode. Press Ctrl-] to exit. ) mini calculator on P2 1+2 = 3 ((1+2)/(4+6)) * 3 = 0.9 exp(1) = 2.71828 log(exp(2)) = 2 sqrt(2) = 1.41421 pi = 3.14159 sin(pi) = not implemented yet 0 help currently supported: sqrt() fabs() exp() log() pi e
binary

15K