Arithmetic Operations
The arithmetic functions available in Lispix are those built into LISP, plus
whatever one wants to write (in LISP) and load using 'TOOLS / load tool'.
- LISP built in functions:
- Unary (one argument):
- zero-p plus-p minus-p odd-p even-p
- conjugate float phase
- exp log sqrt isqrt
- abs truncate floor ceiling round signum
- sin cos tan cis asin acos asin atan sinh cosh tanh asinh acosh
atanh
- Binary (two and possibley more arguments):
- = /= < > <= >=
- + - * /
- lcm gcd expt mod rem
- logand logior logxor logeqv logeqv lognot
- max min
- Multiple arguments (some of them, anyway):
- = /= < > <= >= + - * / max min
- Special
- sum-norm (a b c d e...) returns a/(a+b+c...)