[nfbcs] a little brain teaser

david hertweck david.hertweck at sbcglobal.net
Wed Jul 20 23:12:12 UTC 2016


OK this is a CS group have a little CS puzzle / question for anyone.  I work 
down in the micro controller realm and memory and speed is still something 
that a programmer must deal with.

if one wanted to calculate  y = x*10 such that it took the min time / cpu 
cycles how would you do it.  There is no math co-processor such that * is a 
single operation.

I have one answer I thought it might be fun / interesting what people could 
come up with.   Will post the best answers.

have fun.






More information about the NFBCS mailing list