LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

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

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

Kenn Humborg kenn at bluetree.ie
Fri Oct 29 12:03:47 IST 1999


On Fri, Oct 29, 1999 at 11:57:29AM +0100, gary mc closkey wrote:
> From: Kenn Humborg <kenn at 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





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell