My maths in this area is a bit shaky. Does anybody know how I can calculate a power such as 10^2.2 using no maths functions other than */-+ and a for loop? I don’t have access to a maths library (and can’t import/include it), but need to calculate these things. Hmm.. maybe I should just look how the math library does it.
Share
You can compute logs & exponentials using only basic arithmetic with a Taylor (or Maclaurin) series expansion. So, you should be able to take advantage of certain identities:
See what you can make of all of this…