How do the fractions fit into the mathematics when raising a number to a power, as in x^y, and the fractional part would be in y? I've been having fun playing with the source code that Mr. Eddy Van Esch posted for doing fractions with the HIME Huge Integers, including making my modifications of his code so they use signed integers. But I am completely hung up on implementing an x^y function for use with the code. Making it a wrapper for the native hi_Pow function is out of the question, as the numbers get way, way too big (i.e., it stalls everything to a grinding halt). I did some research by Googling, and I have seem to come up with a recursive algorithm for obtaining a result from an x^y, and it seems fast enough, but, it simply doesn't return correct results when the exponents have fractional parts. I am comparing these results with the results of using the PB e1##^e2## type code, and they don't match at all.
Any help *gratefully* received.
Any help *gratefully* received.

Comment