| Bill Allombert on Thu, 05 Jun 2025 12:03:05 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: ran 3 trials of 100K to check the recovery of a rational number from its decimal |
On Wed, Jun 04, 2025 at 11:05:03PM -0700, American Citizen wrote: > And somewhat irritatingly, I got a zero from the random(N) function call, > which resulted in a zero in the denominator, so I had to watch out for that. You can use random([1,N]) if you need a random number x so that 1<=x<=N. Cheers, Bill.