Serving the Quantitative Finance Community

 
User avatar
ppauper
Posts: 11729
Joined: November 15th, 2001, 1:29 pm

Stupid brainteaser

May 2nd, 2015, 9:55 am

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/...
 
User avatar
Cuchulainn
Posts: 20251
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

Stupid brainteaser

May 3rd, 2015, 9:11 am

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).