For example say you have the code:

BigInteger a = BigInteger.Parse("38283211123595798333307550494857347473733496903827263645859437384595"); BigInteger b = BigInteger.Parse("99282736327262441525550002394827736562211111209389111304049575550011"); Console.WriteLine("BigInterger {0}", (a * B)/>.ToString("R"));

It appears as long as you parse a string of numbers to the BigInteger type you can calculate ANYTHING so long as the machine has enough time to do so and it's based solely on the power of your machine not of the data types for example a double which can only go to 2 to the 64th power.

Be aware of what I said: A parsed string to the bigint. If you simply type a BigInt as a Variable this won't work. Also it should be converted BACK to a string format using the ToString() Method and you need to pass the parameter in ToString of "R" which tells it to output the BigInteger as itself.

INCREDIBLE!

But I'm confused as to whether or not it's simply rounding at this point? According to Microsoft's Documentation about this here:

http://msdn.microsof...y/dd268260.aspx

It says verbatim

"In most cases, the ToString method supports 50 decimal digits of precision. That is, if the BigInteger value has more than 50 digits, only the 50 most significant digits are preserved in the output string; all other digits are replaced with zeros. However, BigInteger supports the "R" standard format specifier, which is intended to round-trip numeric values. The string returned by the ToString(String) method with the "R" format string preserves the whole BigInteger value and can then be parsed with the Parse or TryParse method to restore its original value without any loss of data. The following example illustrates that a string output using the "R" format string can then be parsed by the Parse method without any data loss."

Notice "Without Data Loss" So I'm assuming it's actually multiplying and outputting the correct number for these incredibly large numbers multiplied together to make and even crazier large number? What do people here know about this?

This post has been edited by **adn258**: 29 September 2013 - 02:52 AM