Deutsch   English   Français   Italiano  
<v6leh4$1qbfn$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Gerry Jackson <do-not-use@swldwa.uk>
Newsgroups: comp.lang.forth
Subject: Re: exercise in double number arithmetic
Date: Wed, 10 Jul 2024 08:51:02 +0100
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <v6leh4$1qbfn$1@dont-email.me>
References: <v6c8v0$3usoe$1@dont-email.me>
 <9c8e8993d3413e65caf355ecc6ceea31@www.novabbs.com>
 <v6cl84$obt$2@dont-email.me>
 <5027ddf17f1061435c0ef1df0c5a2061@www.novabbs.com>
 <v6e4gn$bjep$1@dont-email.me> <v6e8vu$bdbc$1@dont-email.me>
 <v6gm4j$s90n$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 10 Jul 2024 09:51:00 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="078680ffe6843df13871f1f889e8cac6";
	logging-data="1912311"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+kGUyM0r2pVxNy/N33TSTPIgmmXQ/2t0c="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:0UzpRgadoFA9Qo826vLSORqt5aY=
Content-Language: en-GB
In-Reply-To: <v6gm4j$s90n$2@dont-email.me>
Bytes: 2521

On 08/07/2024 13:30, Krishna Myneni wrote:
> On 7/7/24 09:33, Gerry Jackson wrote:
>> On 07/07/2024 14:17, Krishna Myneni wrote:
> ...
>>> The whole D>F and floating point operations can be dispensed with if 
>>> we have D/MOD -- a double length version /MOD.
>>>
>>> -- 
>>> Krishna
>>>
>>>
>>
>> There is a +D/MOD in this link
>>
>> http://www3.cs.stonybrook.edu/~algorith/implement/random-number/distrib/r250.seq
>>
> 
> Thanks, Gerry. It looks like D/MOD is not essential to computing the 
> binomial coefficients with double length numbers. We can use M*/ for 
> single computations, or simply D+ to build up a table of coefficients. 
> But, it's good to have a reference for D/MOD.
> 
> I remember that I wanted to update the FSL R250 code to generate 64-bit 
> random numbers, but I never got around to it. There is also a 
> permutations and combinations module in FSL which may benefit from what 
> has been demonstrated in this thread.
> 
> -- 
> Krishna
> 

I didn't realise the paper I linked to was in the FSL as I've never had 
much to do with the FSL. I found I had another definition for D/MOD from 
Forth Dimensions Vol 14 Issue 6, p 27 "Math - Who Needs It"
https://www.forth.org/fd/FD-V14N6.pdf
I've no idea how good it is


-- 
Gerry