Re: computing 20! all the way
Re: computing 20! all the way
- Subject: Re: computing 20! all the way
- From: "John W. Baxter" <email@hidden>
- Date: Fri, 12 Nov 2004 10:06:25 -0800
On 11/12/2004 9:48, "Martin Orpen" <email@hidden> wrote:
> Annoyingly, I can't find any way of forcing it to return a plain old integer
> :-(
That's because AppleScript uses fewer than 32 bits for the value of an
integer. Some are used as a flag saying "I *am* the integer; I don't point
to it."
For factorials, the difference is relatively insignificant (we don't gain
many possible factorials expanding from 29 (?) to 32 bits).
--John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden