Logical Question

From RoboWiki
Jump to: navigation, search
Revision as of 25 June 2013 at 15:20.
This is the thread's initial revision.

Is there any kind of bit operation or arithmetical trick that would allow me to do something like integerWhichCouldOnlyHaveAValueOfZeroOrOne == 0 ? otherIntegerWhichCouldOnlyHaveAValueOfZeroOrOne == 0 ? 0 : 1 : 2 without so many expensive conditionals?

    Sheldor (talk)15:20, 25 June 2013
    Personal tools