Hello Daniweb,
What would you guys say is the most effective way to manage memory for powers?
I'm thinking for smaller powers, like squares or something, it's probably just better to do x * x and Math.pow(x, 2) should only be used for bigger powers.
I have a lot of those calculations in a single file so was just wondering what the best way to approach it would be.
Cheers!