Returns resultIfOne if subject is 1, or resultIfZero if subject is 0.
Supports only 32-bit integers, so resultIfOne or resultIfZero are not integers, they'll be converted to them with bitwise operations.
Returns resultIfOne if subject is 1, or resultIfZero if subject is 0.
Supports only 32-bit integers, so resultIfOne or resultIfZero are not integers, they'll be converted to them with bitwise operations.