I am trying to do some math in the GMP library in C. I need the exponent of a number. For example, 10.25 has exponent 2, 0.000025 has exponent of -4, and 0.16666666 has expo