Newsgroups: comp.lang.forth References: <9616c902dd436be9d44ee97818eb1653@www.novabbs.com> <27272939128fda526e89e1516be61081@www.novabbs.com> <41fb479407861a526f7bf0447b8898a9@www.novabbs.com> From: albert@spenarnc.xs4all.nl Subject: Re: exercise in double number arithmetic X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: albert@cherry.(none) (albert) Message-ID: Organization: KPN B.V. Date: Mon, 15 Jul 2024 12:46:23 +0200 Path: ...!news.misty.com!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feed.abavia.com!abe006.abavia.com!abp001.abavia.com!news.kpn.nl!not-for-mail Lines: 19 Injection-Date: Mon, 15 Jul 2024 12:46:23 +0200 Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com" Bytes: 1683 In article <41fb479407861a526f7bf0447b8898a9@www.novabbs.com>, minforth wrote: >The limitiation is within FALOG that works with float64 >i.e. 52 significant bits ~ about 16 decimal digits only. > >A Forth with DFLOAT=float80 (x87) works with 64 signif. bits >i.e. about 21 decimal digits. > >If this is a problem, the Pascal triangle does not have >such limitations. For these large numbers you should use the floating point approximation for factorials. -- Don't praise the day before the evening. One swallow doesn't make spring. You must not say "hey" before you have crossed the bridge. Don't sell the hide of the bear until you shot it. Better one bird in the hand than ten in the air. First gain is a cat purring. - the Wise from Antrim -