>Simple - typing: > >WORD Output = pow(input,somepower); > >is a lot easier than writing my own fixed point function, when the >compiler does it for me. Rapid Application Development at its finest. > >For the PIC, obviously I'm just going to have to write/find something >written in fixed point. Yes, but ---- As you have already discovered, the compiler is likely to pull in a heap of floating point code to do the calculation (slow) and then convert it to fixed point. Now this may be fine for a get-you-up-and-running-to-test-the-idea type solution, but is not an efficient way to do it, and also suggests that you may be missing or introducing some underlying side effect which could have an effect on the end performance. Do think through the math and how to do it in fixed point (faster) and what the calculation is actually doing. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist