From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?G=C3=B6ran?= Weinholt Newsgroups: gmane.lisp.guile.bugs Subject: bug#14870: gcd and lcm do not work on inexact integers Date: Mon, 15 Jul 2013 15:00:53 +0200 Message-ID: <87mwpo6kqi.fsf@industria.weinholt.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1373894315 2007 80.91.229.3 (15 Jul 2013 13:18:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Jul 2013 13:18:35 +0000 (UTC) To: 14870@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Jul 15 15:18:32 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uyifd-00021C-51 for guile-bugs@m.gmane.org; Mon, 15 Jul 2013 15:18:29 +0200 Original-Received: from localhost ([::1]:34968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyifZ-0007cD-Ej for guile-bugs@m.gmane.org; Mon, 15 Jul 2013 09:18:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyifT-0007Yf-Ok for bug-guile@gnu.org; Mon, 15 Jul 2013 09:18:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UyifS-0006Nr-F5 for bug-guile@gnu.org; Mon, 15 Jul 2013 09:18:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyicJ-0004iB-6K for bug-guile@gnu.org; Mon, 15 Jul 2013 09:15:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UyicI-0003Vl-GW for bug-guile@gnu.org; Mon, 15 Jul 2013 09:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?G=C3=B6ran?= Weinholt Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 15 Jul 2013 13:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14870 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137389406213364 (code B ref -1); Mon, 15 Jul 2013 13:15:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Jul 2013 13:14:22 +0000 Original-Received: from localhost ([127.0.0.1]:55536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uyibd-0003TR-Cz for submit@debbugs.gnu.org; Mon, 15 Jul 2013 09:14:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53777) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uyiba-0003Sz-NN for submit@debbugs.gnu.org; Mon, 15 Jul 2013 09:14:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UyibU-0004GM-KA for submit@debbugs.gnu.org; Mon, 15 Jul 2013 09:14:13 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyibU-0004GH-Gx for submit@debbugs.gnu.org; Mon, 15 Jul 2013 09:14:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyibS-0005js-Es for bug-guile@gnu.org; Mon, 15 Jul 2013 09:14:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UyibR-0004Ez-4p for bug-guile@gnu.org; Mon, 15 Jul 2013 09:14:10 -0400 Original-Received: from iustitia.weinholt.se ([2a02:28f0:0:a::7dce:e5a8]:56906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyibQ-0004Er-PK for bug-guile@gnu.org; Mon, 15 Jul 2013 09:14:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=weinholt.se; s=iustitia2012; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=i8Hb/MVZlLDxADWBDNkaZ9DBBekarL0RMohONUUFTkQ=; b=SxPjfrEeQn1wEmLmhrcH0xDcOuJ4oz15xi18xVzUZSKUC1SQOVM3oCUg0FyfGvWARKwqfuR4RpA7qYjL5BRe25MImm96Q9g5H7zsouazkHzbycS7AKXyiiyqtCJ4k4AM0HSYQGTtTwKkyU9VVO7dtRX4+cJMDlV417X7CgFnP1FolcVITLSeRhzmLpMwHQrcwOG3hdD2reTzb0CUuziWBAPXtIcu1vWnbDh1iP1X3at3sQUgiGmfRvnxl8Aansl+TnQQ/CdNn8Ph2I1d/Rh3VgsW5xArIrVceX32Qz4cwJ0v2l5kr2sIBcQ9ftGIbzvDgUPxw9trqvIiFWGA+KGruA==; Original-Received: from uucp by iustitia.weinholt.se with local-bsmtp (Exim 4.72) (envelope-from ) id 1UyibP-0007F6-Cu; Mon, 15 Jul 2013 15:14:07 +0200 Original-Received: from weinholt by industria with local (Exim 4.80) (envelope-from ) id 1UyiOi-0002QY-6W; Mon, 15 Jul 2013 15:01:00 +0200 X-Hashcash: 1:20:130715:bug-guile@gnu.org::tXn1naLJPXhyZY7z:000000000000000000000000000000000000000000000D6w User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7219 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello schemers, the gcd and lcm procedures from (rnrs) do not work on inexact integers: scheme@(guile-user)> (import (rnrs)) scheme@(guile-user)> (lcm 32.0 -36) ERROR: In procedure lcm: ERROR: In procedure lcm: Wrong type argument in position 1: 32.0 This is an example from r6rs. Tested with Guile 2.0.9.22-7e816-dirty. Regards, =2D-=20 G=C3=B6ran Weinholt "Did the writer not know that the use of the term 'the real world' is usual= ly interpreted as a symptom of rabid anti-intellectualism, or did he not mind?" =2D- prof.dr. Edsger W. Dijkstra --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJR4/KGAAoJEOM+YaLpuMOi+woQAJe0ykYn7aPefakHYTSFuC46 /qyk6h0bvlpjT1kMYiODTqHLLQYNQzJ8wCL0NNbOOS8M0NYjDlPhghwKk//Swvq0 WXZ++xLaMoCEE6KiBRPpdt5sFuPuRZz+IblbBPABl9kNdXPOYmtA3vy7CxaIN6Vq LBxm/vQV5DqeW0jr+9B3R2vMAzF25x0z/ju/mp/YNzYs4k3gaMfQHDqgtRyM2n0i gEl2izo5IYfoEdlxwNBksmhIhqoIudf7zLno2Tqqxz3Yszxg1TV6fnMrrOS58V1y stjLTcyyioNyTa7Y5qXsegDUoLbpuzdO1moQ2hWKrR5icWLyxXXV/7Prou/s8hia V/KxeS2csNFNJv9TjI/g5CkmQv6kCcivdkZ0L01IEmoibp14Yqp3se4YLfCnaPmp VJ+XF/LsRiJM6vuC6sdzdvIIApYJ9cXLy0pAOXAzqizGrg2/EziBBTtKCtAtqi2e hgT7px58/ZJ6C0ZPHVpYtz41RtIa0YCS5LUyiBXQhJfq/NHPMIvpVpnxgkFZeEeV Zhm2g8dcO/m500ROYZaf/fGHTGlGRjidF1FIocxn0NM0KeIEsBLF2tp7KZYVr86K m+G50xgHkBGFIQCqA6g9MUaVLL2Wi1MxHiDAbPMkasl08kzGusJlY4QEBFR+VGxx tYgZ5Hcu38klHez1FAw/ =PUGD -----END PGP SIGNATURE----- --=-=-=--