POWER calculation in microsoft excel

nora devids 0 Reputation points
2023-11-03T10:30:03.93+00:00

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

C#
C#
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.
11,005 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,976 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 45,096 Reputation points
    2023-11-03T10:44:12.7766667+00:00
    0 comments No comments

  2. nora devids 0 Reputation points
    2023-11-04T06:45:27.4666667+00:00

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

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.