case CUSTOMNUMERICTYPE:
ArithmeticOperations operations = (t1 > t2) ?
getArithmeticOperations(v1)
: getArithmeticOperations(v2);
result = operations.compare(v1, v2);
break;
case NONNUMERIC:
if ((t1 == NONNUMERIC || v1 == null) &&
(t2 == NONNUMERIC || v2 == null)) {