You're algorithm doesn't compute x^y.
Get out a piece of paper and "execute" the code as if you were the computer (pick some sample inputs):
ex. mantissa = 4, exponent = 3
4^3 = 64
...
Type: Posts; User: helloworld922
You're algorithm doesn't compute x^y.
Get out a piece of paper and "execute" the code as if you were the computer (pick some sample inputs):
ex. mantissa = 4, exponent = 3
4^3 = 64
...