home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 116,601 of 117,927   
   Krishna Myneni to All   
   exercise in double number arithmetic   
   06 Jul 24 15:20:45   
   
   From: krishna.myneni@ccreweb.org   
      
   I've been working on extending the kForth-64 User's Manual and, in   
   particular, illustrating double length arithmetic, which, being one of   
   the strengths of Forth, often does not get enough exposure. Here's an   
   exercise which you can do using only standard Forth words.   
      
   How many different ways can you choose 42 distinct objects, 21 at a   
   time? This is "n choose k" or the binomial coefficent.   
      
   Please show your code.   
      
   --   
   Krishna Myneni   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca