Message-Id: <199811251825.SAA01180@remus.clara.net> From: "Arthur" To: Subject: RE: Calculating Pi Date: Wed, 25 Nov 1998 18:24:11 -0000 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal In-Reply-To: <365ba9b5.4756209@ct-news.iafrica.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com > Hi, > > I read on someone's website that they calculated Pi, to 96 decimal > places using djgpp. I tried to do this but only got as far as Double's > precision limit. Please tell me how to break this limit. Simple. Don't use doubles. You'll have to write your own routines to handle very large (and hance also very small) numbers. Don't ask me _how_ to go about this though, but you might like to have a look at code which handles 64-bit integers under DJGPP (saw it around somewhere). James Arthur - jaa AT arfa DOT clara DOT net http://www.arfa.clara.net/james/ ICQ#15054819