My question is related to Calculating logs and fractional exponents by hand, but despite that question's title, all answers there focus on logarithms. I am interested in fractional exponents alone.
The programming language I am working with doesn't support floating-point numbers (i.e. fractional numbers). To work around this, I am emulating fractions via fixed-point representation with 18 decimals (the language can go as high as $2^{256} - 1$). For example, I would write $\pi$ as $3141592653589793238$.
I need to calculate the exponential function when the exponent is a fractional number, but I can only use:
- Basic arithmetic operations like addition, subtraction, multiplication and division (note: division rounds down, no fractional part allowed)
- The exponentiation function (**) but only if the exponent is a whole number
The language doesn't support roots or other advanced functions natively.
Is there any mathematical trick that I can use to accurately estimate fractional exponents?