Converts a range check (
in
) to two consecutive comparisons.