Sujet : Re: exercise in double number arithmetic
De : albert (at) *nospam* spenarnc.xs4all.nl
Groupes : comp.lang.forthDate : 15. Jul 2024, 11:46:23
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$00849e6e$6a16c03d@caa216183355b959>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <41fb479407861a526f7bf0447b8898a9@
www.novabbs.com>,
minforth <
minforth@gmx.net> 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 thehide of the bear until you shot it. Better one bird in the hand than ten inthe air. First gain is a cat purring. - the Wise from Antrim -