Implement numeric predicates.

These are required to create a full set of numeric operation tests.