Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!caen!uakari.primate.wisc.edu!aplcen!simpson From: simpson@aplcen.apl.jhu.edu (Simpson David Grant) Newsgroups: comp.lang.apl Subject: Re: Factorials in J Message-ID: <1991Mar13.042856.23984@aplcen.apl.jhu.edu> Date: 13 Mar 91 04:28:56 GMT References: <1991Mar9.040541.28914@aplcen.apl.jhu.edu> <1991Mar11.202526.20774@jato.jpl.nasa.gov> Reply-To: simpson@aplcen (Simpson David Grant) Organization: Johns Hopkins University Lines: 22 >|> In article <1991Mar9.040541.28914@aplcen.apl.jhu.edu>, simpson@aplcen.apl.jhu.edu (Simpson David Grant) writes: >|> >|> Can someone explain what is happening when I try to calculate >|> factorials in the following J session? I do this right after >|> starting up J (version 3): >|> >|> !9 >|> 362880 >|> !174 >|> 1.7=e309 >|> !9 >|> 1 >|> All following attempts to calculate factorials also produce 1. >|> What gives? >|> I got these results with J version 3 for the PC, running on my Zeos 386. I tried this same software today on an IBM AT (80286) with different results -- it hangs the computer for !174, but does not answer "1" for every factorial like my 386 does. David Simpson