gobigfloat

How to exponentiate two big floats


I am using golang math/big package, and when I read the documentation, i could not find a exponentiate function for bigFloats. I found something called MantExp but i do not know what this means. How can I exponent floating point bignumbers in go?


Solution

  • Refer this golang.org example ( You may get some hints from this example, See Line 97 in this example)