From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: bigger integers Date: Thu, 02 Sep 2004 17:28:17 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1094164144 28480 80.91.224.253 (2 Sep 2004 22:29:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2004 22:29:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 03 00:28:56 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C304d-0002lP-00 for ; Fri, 03 Sep 2004 00:28:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C309c-0006oS-LP for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Sep 2004 18:34:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C309U-0006oM-1H for help-gnu-emacs@gnu.org; Thu, 02 Sep 2004 18:33:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C309S-0006oA-FM for help-gnu-emacs@gnu.org; Thu, 02 Sep 2004 18:33:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C309R-0006o7-17 for help-gnu-emacs@gnu.org; Thu, 02 Sep 2004 18:33:54 -0400 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C3045-0008LT-NC for help-gnu-emacs@gnu.org; Thu, 02 Sep 2004 18:28:21 -0400 Original-Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i82MSKF23517; Thu, 2 Sep 2004 17:28:20 -0500 Original-Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1C3041-0008CM-00; Thu, 02 Sep 2004 17:28:17 -0500 Original-To: help-gnu-emacs@gnu.org X-all-your-base-are-belong-to-us: You are on the way to destruction. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20420 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20420 This fails on big numbers like 12. (defun factorial (num) (if (<= num 0) 1 (* num (factorial (1- num))))) Suggestions on how to make it work for bigger numbers?