Re: [racket] LC53

2012-11-21 Thread Hugh Aguilar
Norman Gray To: Hendrik Boom Cc: users@racket-lang.org Subject: Re: [racket] LC53 Message-ID: <37e7d524-8e22-4f35-8d05-8c2a993b5...@astro.gla.ac.uk> Content-Type: text/plain; charset=windows-1252 Hendrik (and Hugh), hello. OK -- I'll bite, if only to see where this argument heads to.

Re: [racket] LC53

2012-11-21 Thread Hendrik Boom
On Wed, Nov 21, 2012 at 09:36:14AM +, Norman Gray wrote: > > Hendrik (and Hugh), hello. > > OK -- I'll bite, if only to see where this argument heads to. > > On 2012 Nov 20, at 13:56, Hendrik Boom wrote: > > > On Tue, Nov 20, 2012 at 11:02:06AM +, Norman Gray wrote: > >> > >> I think

Re: [racket] LC53

2012-11-21 Thread Norman Gray
Hendrik (and Hugh), hello. OK -- I'll bite, if only to see where this argument heads to. On 2012 Nov 20, at 13:56, Hendrik Boom wrote: > On Tue, Nov 20, 2012 at 11:02:06AM +, Norman Gray wrote: >> >> I think list members might experience a certain amount of surprise at your >> conclusion

Re: [racket] LC53

2012-11-20 Thread Hendrik Boom
On Tue, Nov 20, 2012 at 11:02:06AM +, Norman Gray wrote: > > Hugh, greetings. > > I think list members might experience a certain amount of surprise at your > conclusions... > > On 2012 Nov 20, at 02:34, Hugh Aguilar wrote: > > > For a numerical program it is necessary to have mixed-precis

Re: [racket] LC53

2012-11-20 Thread Norman Gray
Hugh, greetings. I think list members might experience a certain amount of surprise at your conclusions... On 2012 Nov 20, at 02:34, Hugh Aguilar wrote: > For a numerical program it is necessary to have mixed-precision arithmetic. > [...] Scheme, Python, Ruby, C/C++, Fortran, Java, etc., don'

Re: [racket] LC53

2012-11-19 Thread Hugh Aguilar
regards --- Hugh From: Jens Axel Søgaard To: Hugh Aguilar Sent: Saturday, November 17, 2012 5:32 AM Subject: Re: [racket] LC53 2012/11/17 Hugh Aguilar : > Note that when I invented LC53, the 32-bit x86 was still prevalent and I was > assuming that the sys

Re: [racket] LC53

2012-11-17 Thread Richard Cleis
mples" you mean valid values for X, any 32-bit number other > than 0 will work. > > From: Richard Cleis > To: Hugh Aguilar > Cc: "users@racket-lang.org" > Sent: Saturday, November 17, 2012 4:59 AM > Subject: Re: [racket] LC53 > > Only excess

Re: [racket] LC53

2012-11-17 Thread Hugh Aguilar
Well, if by "examples" you mean valid values for X, any 32-bit number other than 0 will work. From: Richard Cleis To: Hugh Aguilar Cc: "users@racket-lang.org" Sent: Saturday, November 17, 2012 4:59 AM Subject: Re: [racket] LC53 On

Re: [racket] LC53

2012-11-17 Thread Richard Cleis
Only excessively brave Racketeers would attempt that without a good set of examples. :-) rac On Nov 17, 2012, at 4:46 AM, Hugh Aguilar wrote: > All of this talk about using Racket for numerical work reminds me of a simple > function that I included in my novice package: > http://www.forth.org/

[racket] LC53

2012-11-17 Thread Hugh Aguilar
All of this talk about using Racket for numerical work reminds me of a simple function that I included in my novice package: http://www.forth.org/novice.html This is the LC53 linear-congruential prng (pseudo-random number generator) that I invented. Here it is using infix pseudo-code: m = 2^32 -