From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Complex, exact numbers Date: Sun, 26 Sep 2010 15:00:47 -0700 (PDT) Message-ID: <827574.39182.qm@web37903.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285538461 8361 80.91.229.12 (26 Sep 2010 22:01:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 22:01:01 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Sep 27 00:00:59 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OzzHH-0006il-5b for guile-devel@m.gmane.org; Mon, 27 Sep 2010 00:00:59 +0200 Original-Received: from localhost ([127.0.0.1]:41953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzzHG-0007WG-Iy for guile-devel@m.gmane.org; Sun, 26 Sep 2010 18:00:58 -0400 Original-Received: from [140.186.70.92] (port=45625 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzzHB-0007Uz-1E for guile-devel@gnu.org; Sun, 26 Sep 2010 18:00:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzzH8-0005Z6-Pf for guile-devel@gnu.org; Sun, 26 Sep 2010 18:00:52 -0400 Original-Received: from web37903.mail.mud.yahoo.com ([209.191.91.165]:25153) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OzzH8-0005Yv-AR for guile-devel@gnu.org; Sun, 26 Sep 2010 18:00:50 -0400 Original-Received: (qmail 39359 invoked by uid 60001); 26 Sep 2010 22:00:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1285538447; bh=Khepz/xX4g2mQuwVd23rVwwtebKUVCLavMwwZIgye9o=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=ea6QNeCRapis5q69jmLwUSAfiFuVd9zHRqhuCuTJ8ERJIZ76+hTVBYgfinzZUrGV3xQATfZ5fO7w0GN/setblYywKgt3Ieh8mw7M8D5KwTaK2o1KlR1zi0uV3DnKDGQawgfPE+v0jB/cDcWVD2Gv0cp7FJWsKOrWPUdaYJyPaKY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=HLnbtEaJ0S1HsTPNI1e3QAf28Nsqzn+dMWLAQUixfiwdrlF0OZaA+KgpLkhiuexik0hr3efqlYg5M3lBk+aqyx4TjAgmnE5gVglZ0VNlmfQBWoSo0+Ru1CGALU9g+jdTebl/IAoHdzjp/eAgcTAbbN1cBbDOaB+0tx1fyheMJ/w=; X-YMail-OSG: Wo83FLYVM1kvtfTyLzF6H1QtLpNne3CaGLozOSbOlGJXH1q VWO7mF_YMFa0.EH5KD5IyRNDTuT6Hw.o7JqdAKYwPiWCKnWSBiFMEUwST5bZ i7HqNlyNdn6..ICKzCS957U3NeBxBeEefYY5o2AXk.GtMUW0_Me6fCMX77zd T7.uC5Z22rynK9ur8Egc_g_hl_zcOJs5WQyNrVXDU1QfDos_X7n.4dNryW4X Wl2JJqY3knuT4cLRYoK0Tpuf2o4yw0QetvHQvPPHjK7_giLW3wTf1BCNnLel U4pm8WpVbUFcayfbjJMX_eC_0I3Ut_4RVRbQB8KyFpJJmZdNug4X9oAg- Original-Received: from [71.140.100.235] by web37903.mail.mud.yahoo.com via HTTP; Sun, 26 Sep 2010 15:00:47 PDT X-Mailer: YahooMailRC/497 YahooMailWebService/0.8.105.279950 X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10955 Archived-At: Hi all- Should a number be able to be both complex and exact? The R6RS isn't helpful in answering this question. It says "A number object is exact if it is the value of an exact numerical literal or was derived from exact number objects using only exact operations. Exact number objects correspond to mathematical numbers in the obvious way." $ meta/guile -c "(write 0+i) (newline)" > 0.0+1.0i $ meta/guile -c "(write #e0+i) (newline)" > ERROR: In procedure inexact->exact: > ERROR: Wrong type argument in position 1: 0.0+1.0i Thanks, Mike