Re: computing 20! all the way
Re: computing 20! all the way
- Subject: Re: computing 20! all the way
- From: Martin Orpen <email@hidden>
- Date: Fri, 12 Nov 2004 18:15:12 +0000
on 12/11/04 6:06 pm, John W. Baxter wrote:
> 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."
I didn't know that Google used AppleScript :-)
I noticed that you mentioned trailing zeros earlier and found this simple
formula:
<http://mathworld.wolfram.com/fimg91.gif>
I'd quickly dash off an AppleScript version - but Nigel Garvey has probably
already posted one :-)
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
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