title: Represent very large numbers with float/double precision
body: <p>I would like to show very large numbers in an application (incremental game). The exponent can be larger than 100,000 (one hundred thousand) so <code>double</code> or <code>float</code> will meet their limitations. I know about the <code>BigInteger</code> type but I read that it can be slow and I do not need more than 5 digts of precision on the significand, so it might not be a good option</p>
  <p>An example of a number could be 1.2345*10^100000. In this case I do not care about any decimal after the 5th (anywhere between 5-15 digts of precision would be fine)</p>
  <p>I need to do multiple operations (multiplication, addition, power, log) on the number in a 30ms loop so it should be fast. How can I do this in a good way? Are there any libraries or do I need to make my own?</p>
  <p>It would also be great if I could represent the number with different notations like scientific, engineering, alphabetic, standard (million, billion, ..., septillion, octillion, nonillion), etc.</p>