Tsetsbold wrote: > Hi > > On Nov 8, 2007 9:50 PM, Thomas Hruska <[EMAIL PROTECTED]> wrote: > >> leekratos wrote: >>> i want to calculate division about intergers of more than 50 digit. >>> of course it can not be done in the regular way. >>> please give me a brief algorithm. >> http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic >> >> Plenty of libraries out there to do this. > > But from China, we cannot go into www.wikipedia.org, but I don't know why.
That would be because your country imposes information controls on the data flowing into and out of the country. It is quite an impressive feat of technology but a completely unnecessary one as well. Rhetorical: Why can't we all just get along and play nice together on the Internet? We might actually accomplish something useful as a race for once. The GNU multi-precision library is pretty popular. You are basically looking for either arbitrary precision math libraries or integer "bignum" libraries. Either one will do what you want. You might also look at 'bc' (basic calculator) under *NIX based OSes. Source code is probably somewhere and 'man bc' will bring up the manpage for it. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
