From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: bug in numbers.c integer-expt, expt? Date: Wed, 13 Mar 2002 02:28:16 -0600 Sender: guile-devel-admin@gnu.org Message-ID: <87adtcj2hr.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016011335 17701 80.91.224.249 (13 Mar 2002 09:22:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 13 Mar 2002 09:22:15 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16l4xb-0004bO-00 for ; Wed, 13 Mar 2002 10:22:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16l49T-0001Mc-00; Wed, 13 Mar 2002 03:30:27 -0500 Original-Received: from dsl-209-87-109-2.constant.com ([209.87.109.2] helo=defaultvalue.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16l47O-0001GU-00 for ; Wed, 13 Mar 2002 03:28:18 -0500 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 392904544 for ; Wed, 13 Mar 2002 02:28:17 -0600 (CST) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id D7CDD1BAD; Wed, 13 Mar 2002 02:28:16 -0600 (CST) Original-To: guile-devel@gnu.org Original-Lines: 24 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:16 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:16 Is integer-expt supposed to behave like expt wrt (integer-expt 0 0)? Right now I get guile> (integer-expt 0 0) 0 guile> (expt 0 0) 0 but r5rs says: - procedure: expt z1 z2 Returns Z1 raised to the power Z2. For z_1 ~= 0 z_1^z_2 = e^z_2 log z_1 0^z is 1 if z = 0 and 0 otherwise. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel