From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Bill Schottstaedt" Newsgroups: gmane.lisp.guile.bugs Subject: (number? '1e311) Date: Sat, 1 Nov 2008 07:22:11 -0700 Message-ID: <20081101142047.M70127@ccrma.Stanford.EDU> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: ger.gmane.org 1225549349 3597 80.91.229.12 (1 Nov 2008 14:22:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Nov 2008 14:22:29 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Nov 01 15:23:31 2008 connect(): Connection refused Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KwHNx-0000bH-SH for guile-bugs@m.gmane.org; Sat, 01 Nov 2008 15:23:30 +0100 Original-Received: from localhost ([127.0.0.1]:60814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwHMr-0000kw-7w for guile-bugs@m.gmane.org; Sat, 01 Nov 2008 10:22:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwHMm-0000id-Cb for bug-guile@gnu.org; Sat, 01 Nov 2008 10:22:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwHMk-0000gu-L6 for bug-guile@gnu.org; Sat, 01 Nov 2008 10:22:14 -0400 Original-Received: from [199.232.76.173] (port=33910 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwHMk-0000gj-9Z for bug-guile@gnu.org; Sat, 01 Nov 2008 10:22:14 -0400 Original-Received: from smtp4.stanford.edu ([171.67.219.84]:33102) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KwHMk-00036S-7F for bug-guile@gnu.org; Sat, 01 Nov 2008 10:22:14 -0400 Original-Received: from smtp4.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 05BEB486338 for ; Sat, 1 Nov 2008 07:22:12 -0700 (PDT) Original-Received: from cm-mail.stanford.edu (cm-mail.Stanford.EDU [171.64.197.135]) by smtp4.stanford.edu (Postfix) with ESMTP id E117F486333 for ; Sat, 1 Nov 2008 07:22:11 -0700 (PDT) Original-Received: from ccrma.stanford.edu (ccrma.stanford.edu [171.64.197.141]) by cm-mail.stanford.edu (8.13.8/8.13.8) with ESMTP id mA1EMBZp026135 for ; Sat, 1 Nov 2008 07:22:11 -0700 Original-Received: from ccrma.Stanford.EDU (localhost.localdomain [127.0.0.1]) by ccrma.stanford.edu (8.12.11.20060308/8.12.5) with ESMTP id mA1EMBw0002533 for ; Sat, 1 Nov 2008 07:22:11 -0700 X-Mailer: Open WebMail 2.41 20040926 X-OriginatingIP: 76.102.156.191 (bil) X-Virus-Scanned: ClamAV 0.92.1/8552/Fri Oct 31 18:14:36 2008 on cm-mail.stanford.edu X-Virus-Status: Clean X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4067 Archived-At: I think number? should not signal an error -- it should return either #t or #f: guile> (number? '1e310) ERROR: In procedure string->number: ERROR: Value out of range: 310 ABORT: (out-of-range) guile> ERROR: In procedure scm_read_expression: ERROR: standard input:1:17: unexpected ")" ABORT: (read-error) Also, the error message should mention that the value in question is an exponent (this can be non-obvious in actual code).