Constant folding in computed enum members

:+1 to Anders' suggestion. Might be arguable as to what you want to do when the RHS for `/` and `%` are `0` though.