Simulate '=='/2, '/='/2