7. A system for rewriting a relational expression, the system comprising: one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, the program instructions comprising: program instructions to determine a first type of relational expression, wherein the first type of the relational expression includes: a signed two's complement byte-length, a floating-point type, a packed decimal format, and a zoned decimal format; program instructions to determine a first segment of bytes and a second segment of bytes, wherein the first segment of bytes comprises leading bytes and the second segment of bytes comprises a last byte containing sign information; program instructions to generate a first set of conjunctive terms, wherein the first set of conjunctive terms are compared to the first segment of bytes and the second segment of bytes; and program instructions to rewrite the first type of the relational expression to a second type of relational expression, based, at least in part, on the first set of conjunctive terms.
7. A system for rewriting a relational expression, the system comprising: one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, the program instructions comprising: program instructions to determine a first type of relational expression, wherein the first type of the relational expression includes: a signed two's complement byte-length, a floating-point type, a packed decimal format, and a zoned decimal format; program instructions to determine a first segment of bytes and a second segment of bytes, wherein the first segment of bytes comprises leading bytes and the second segment of bytes comprises a last byte containing sign information; program instructions to generate a first set of conjunctive terms, wherein the first set of conjunctive terms are compared to the first segment of bytes and the second segment of bytes; and program instructions to rewrite the first type of the relational expression to a second type of relational expression, based, at least in part, on the first set of conjunctive terms. 8. The system of claim 7 , wherein the program instructions to determine a first segment of bytes and a second segment of bytes further comprise program instructions to determine a second operand value is equal to or greater than zero; and program instructions to determine whether a second operand value zero, greater than zero, or less than zero.