Page 2 of 2

Stupid brainteaser

Posted: May 2nd, 2015, 9:55 am
by ppauper
QuoteOriginally posted by: katastrofaQuotem ^ 2 ? ... : ...seems to be the equivalent of 'if m=2, do the stuff after the colon, else do the stuff before the colon.'^ is bitwise XORI always think of it as being "to the power of" in maple/mathematica/...

Stupid brainteaser

Posted: May 3rd, 2015, 9:11 am
by Cuchulainn
QuoteOriginally posted by: ppauperQuoteOriginally posted by: katastrofaQuotem ^ 2 ? ... : ...seems to be the equivalent of 'if m=2, do the stuff after the colon, else do the stuff before the colon.'^ is bitwise XORI always think of it as being "to the power of" in maple/mathematica/...The beauty of undocumented code (default).