Serving the Quantitative Finance Community

 
User avatar
ppauper
Posts: 70239
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: 65000
Joined: July 16th, 2004, 7:38 am
Location: Drosophila melanogaster
Contact:

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).
"Compatibility means deliberately repeating other people's mistakes."
David Wheeler

http://www.datasimfinancial.com
http://www.datasim.nl