Navigation


Changes between Version 8 and Version 9 of Documentation/HowToWriteYourOwnDAC-Agent

Show
Ignore:
Timestamp:
21.01.2010 10:22:47 (3 years ago)
Author:
klider
Comment:

20 = 1

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/HowToWriteYourOwnDAC-Agent

    v8 v9  
    1313example agent which computes power of two for given n-number passed as a parameter. 
    1414To divide this task for sub tasks we can compute that by recursively dividing it with 2 and computing power of (n-1). 
    15 Dividing stops when the power n is equal to 0 as 2^0=1. 
     15Dividing stops when the power n is equal to 0 as 2^0^ = 1. 
    1616 
    1717We made the most tricky part so the rest is piece of cake :)