pcalc clone written in rust for the sole purpose of it being able to handle 64-bit numbers.
It's happily doing arithmetics with overflows just wrapping around the usize
space.
- Addition ⇾ "+"
- Subtraction ⇾ "-"
- Multiplication ⇾ "*"
- Division ⇾ "/"
- Modulo ⇾ "%"
- Right shift ⇾ ">>"
- Left shift ⇾ "<<"
- Bitwise or ⇾ "||"
- Bitwise and ⇾ "&&"
- Built-in bash operators like "*" or ">>" requires putting quotes around the expressions
- Only two operands are supported, this is not intended to handle arbitrary large expressions