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: re: big number printout Date: Wed, 2 Jul 2008 15:36:25 -0700 Message-ID: <20080702222810.M95646@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 1215089856 16277 80.91.229.12 (3 Jul 2008 12:57:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 12:57:36 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jul 03 14:58:22 2008 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 1KEOO1-0007Mx-Ai for guile-bugs@m.gmane.org; Thu, 03 Jul 2008 14:58:09 +0200 Original-Received: from localhost ([127.0.0.1]:48518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEONA-00024j-Bg for guile-bugs@m.gmane.org; Thu, 03 Jul 2008 08:57:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEAwE-0007Hj-LB for bug-guile@gnu.org; Wed, 02 Jul 2008 18:36:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEAwD-0007GF-Kr for bug-guile@gnu.org; Wed, 02 Jul 2008 18:36:34 -0400 Original-Received: from [199.232.76.173] (port=43252 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEAwD-0007Fr-De for bug-guile@gnu.org; Wed, 02 Jul 2008 18:36:33 -0400 Original-Received: from smtp2.stanford.edu ([171.67.20.25]:52156) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KEAwD-0007pC-1Y for bug-guile@gnu.org; Wed, 02 Jul 2008 18:36:33 -0400 Original-Received: from smtp2.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 41F3F65B747 for ; Wed, 2 Jul 2008 15:36:28 -0700 (PDT) Original-Received: from cm-mail.stanford.edu (cm-mail.Stanford.EDU [171.64.197.135]) by smtp2.stanford.edu (Postfix) with ESMTP id 2984765B726 for ; Wed, 2 Jul 2008 15:36:28 -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 m62MaPB2021984 for ; Wed, 2 Jul 2008 15:36:25 -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 m62MaPE8009385 for ; Wed, 2 Jul 2008 15:36:25 -0700 X-Mailer: Open WebMail 2.41 20040926 X-OriginatingIP: 67.161.21.103 (bil) X-Virus-Scanned: ClamAV 0.92.1/7620/Wed Jul 2 11:31:07 2008 on cm-mail.stanford.edu X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 03 Jul 2008 08:55:54 -0400 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:3919 Archived-At: just to follow up -- not as an argument, but to add data -- this inaccurate printout happens with smaller numbers (in the 2^50 range), and as noted by others, the internal representation seems ok. Here's another example: guile> 1000000000000007.0 1000000000000010.0 guile> (odd? 1000000000000007.0) #t guile> (even? 1000000000000007.0) #f ("It's an *inexact* integer, ferchrissake")