E.g. piecewise conditions or AND operators must be booleans, while operands for e.g. exp must be numbers (Transferred from #8)