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: 61084
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
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).
http://www.datasimfinancial.com
http://www.datasim.nl

Every Time We Teach a Child Something, We Keep Him from Inventing It Himself
Jean Piaget
ABOUT WILMOTT

PW by JB

Wilmott.com has been "Serving the Quantitative Finance Community" since 2001. Continued...


Twitter LinkedIn Instagram

JOBS BOARD

JOBS BOARD

Looking for a quant job, risk, algo trading,...? Browse jobs here...


GZIP: On