I'm developing a small application in Deluge (zoho.com). There isn't a "^" operator or a "pow" function to do exponentiation. Getting worst, I'm supposed to do exponentiations also with float exponents, instead just integer exponents. I've found a lot of algorithms doing integer exponentiations, but none that do it for float ones. Thank you for helping.
They are basically same. If you want something simple, then repeatedly multiplying would do. If you want to make the multiplication process efficient, you can go for Divide and conquer algorithm,