holy crap @optimizoor is just built different. Thank you for the FixedPointMath Library. It's insane how accurate this is.
Solidity can only do whole number exponents. This library should seriously be part of the compiler
Solidity can only do whole number exponents. This library should seriously be part of the compiler