A "simple" C99 calculator. Can be configured to work with different number types, including custom ones (see config/, make.sh and test.sh). This was initially written for a challenge posed by a rust programmer, who tasked me to make a secure calculator. I think I've achieved this. Although it is obviously using a lot more code. Handles a lot of failure types involving invalid inputs. Does not handle over/underflows on integer-based configs. Syntax: ./calc <add/sub/mul/div> <nr1> <nr2>
Languages
C
94.6%
Shell
5.4%