The .net framework provides in the Math class a method for powering double. But by precision requirement I need to raise a decimal to a decimal power [ Pow(decimal a, decimal b) ]. Does the framework have such a function? Does anyone know of a library with this kind of function?
Share
To solve my problem I found some expansion series, and them I had them implemented to solve the equation X^n = e^(n * ln x).
The Pow() and Factorial() functions are simple because the power is always an int (inside de power series).