Mark Peterson wrote: > For lack of better teminology, what is the long hand math version of > taking a number to a non-integer power? > > For example, if I have 2.72^1.23, how can I calculate the result if an > x^y function is not available? Mark: If you can calculate or lookup logarithms, use: x ** y = antilog (log(x) * y) For example: 2.72 ** 1.23 = antilog (log(2.72) * 1.23) = antilog (0.4345689 * 1.23) = antilog (0.5345198) = 3.4238896 It doesn't matter whether you use log base 2, log base 10, or log base e. -Andy === Andrew Warren --- aiw@cypress.com === IPD Systems Engineering, CYSD === Cypress Semiconductor Corporation === === Opinions expressed above do not === necessarily represent those of === Cypress Semiconductor Corporation -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu