ghorn/dvda — Issue #8: simplifications
Author: ghorn
Created: 2011-11-15 10:42:28+00:00
State: open

- trig: cos(0) = 1, cos(pi) = -1, etc
- sanity checks: 1/0 = error, log(0) = error, etc
- logBase a b
| a == b = 1
| otherwise = logBase a b
- a / b
| b == 0 = error "blah"
| a == b = 1
| otherwise = a / b
- commutative (==)