Utilities for working with binary comparison operations