Hello, I am trying to make a custom floating point power function of some sort. I need to do this because I am using a bignum library that lets me declare integers and floats with any number of bits I want, and I am dealing with very big numbers. I have absolutely now idea how to make a power function for this; I'm good at math, and OK at programming, but I can't get the two to mesh. I have done a lot of searching but I cannot find anything that will work correctly or accurately when I implement it. The bignum lib I use supports most things except for the power operators (^=, ^) and the modulo operators (%=, %) for floating point types.
If someone could set me on the right track for making a function for a super-big, super-accurate floating point power function, I'd highly appreciate it.
No, I want something that allows me to take a float as a base, and raise it to a float as the power, and return a float. I can't use any of the inbuilt C++ power functions because I have no source to them to change for my big float types. I was simply saying what the lib was capable of when I mentioned the modulo operators. (The lib is not finished but I was hoping to use a workaround for it until it was finished)