Re: [OT] Factorials RE: [ILUG] impressive...

From: Kenn Humborg (kenn at domain bluetree.ie)
Date: Fri 29 Oct 1999 - 12:03:47 IST


On Fri, Oct 29, 1999 at 11:57:29AM +0100, gary mc closkey wrote:
> From: Kenn Humborg <kenn at domain bluetree.ie>
> >
> > Oops! Mistake... This is the correct one
> [snip corrected assembly code]
>
> Like we all were chuckling to ourselves on how you could make such an
> obvious mistake :)

Ahhh, but you all missed the other deliberate mistake :-)
There's no mul2 instruction. It should be mull2.

And, of course, that code won't actually give you the
factorial of 30, as tried in fact_test :-(

When I go home later, I'll do it with the VAX's 128-bit
H-floats.

Later,
Kenn



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:48 GMT