(1<a<7) gets compiled as ((1<a)<7) which is always true, since both true and false are smaller than 7.
does anyone know the "solution" nvidia wanted to see?