Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

no, you can't i have a range from 170 to 10,

and yes, you need 2 sets of ranges (like in the question), and 2 inRange() calls.

then, you probably want to bitwise_or() the results, not sum them.