From unknown Mon Aug 18 23:11:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14870 <14870@debbugs.gnu.org> To: bug#14870 <14870@debbugs.gnu.org> Subject: Status: gcd and lcm do not work on inexact integers Reply-To: bug#14870 <14870@debbugs.gnu.org> Date: Tue, 19 Aug 2025 06:11:11 +0000 retitle 14870 gcd and lcm do not work on inexact integers reassign 14870 guile submitter 14870 G=C3=B6ran Weinholt severity 14870 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 15 09:14:22 2013 Received: (at submit) by debbugs.gnu.org; 15 Jul 2013 13:14:22 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-100.5 required=5.0 tests=BAYES_05,T_DKIM_INVALID, USER_IN_WHITELIST autolearn=disabled version=3.3.2 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 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 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 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==; 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 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 From: =?utf-8?Q?G=C3=B6ran?= Weinholt To: bug-guile@gnu.org Subject: 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 16 06:43:54 2013 Received: (at 14870-done) by debbugs.gnu.org; 16 Jul 2013 10:43:55 +0000 Received: from localhost ([127.0.0.1]:57776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uz2ja-0007Xp-FS for submit@debbugs.gnu.org; Tue, 16 Jul 2013 06:43:54 -0400 Received: from world.peace.net ([96.39.62.75]:53441 ident=hope7) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uz2jW-0007Xa-K9 for 14870-done@debbugs.gnu.org; Tue, 16 Jul 2013 06:43:51 -0400 Received: from 209-6-120-240.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com ([209.6.120.240] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Uz2jQ-00014g-DU; Tue, 16 Jul 2013 06:43:44 -0400 From: Mark H Weaver To: =?utf-8?Q?G=C3=B6ran?= Weinholt Subject: Re: bug#14870: gcd and lcm do not work on inexact integers References: <87mwpo6kqi.fsf@industria.weinholt.se> Date: Tue, 16 Jul 2013 06:43:27 -0400 In-Reply-To: <87mwpo6kqi.fsf@industria.weinholt.se> (=?utf-8?Q?=22G=C3=B6r?= =?utf-8?Q?an?= Weinholt"'s message of "Mon, 15 Jul 2013 15:00:53 +0200") Message-ID: <87y5963hv4.fsf@tines.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 14870-done Cc: 14870-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) G=C3=B6ran Weinholt writes: > the gcd and lcm procedures from (rnrs) do not work on inexact integers: Fixed in 3bbca1f7237c0e9d9419eaea8f274c9cd7314f04. Thanks! Mark From unknown Mon Aug 18 23:11:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 13 Aug 2013 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator