POWER calculation in microsoft excel

nora devids 0 Reputation points

I'm trying to replicate the POWER calculation in microsoft excel using C++.

It's meant to be able to handle real number bases and exponents.

I've tried using a Taylor series expansion but it doesn't match excel output to the desired precision. Especially for really large or small results. Are there other methods (series, iterative or others) to calculate power... Preferably, does anyone know how it's evaluated on excel?

Any help is much appreciated

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
9,479 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,049 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 36,111 Reputation points
    0 comments No comments

  2. nora devids 0 Reputation points

    Thanks Olaf Helper i'm greatfull. I found soulution to the problem now.

    0 comments No comments