relational operators are only allowed for real types