From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bengt Richter Subject: bug#40744: guile-2.2.4 (integer-length 0) erroneously returns 0, not 1 Date: Sat, 25 Apr 2020 23:33:50 +0200 Message-ID: <20200425213350.GA10462@LionPure> References: <20200421130344.GA9369@LionPure> Reply-To: Bengt Richter Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55034) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSSRz-0002Bv-4E for bug-guix@gnu.org; Sat, 25 Apr 2020 17:35:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSSRy-0000UL-E8 for bug-guix@gnu.org; Sat, 25 Apr 2020 17:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSSRy-0000Pu-0h for bug-guix@gnu.org; Sat, 25 Apr 2020 17:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSSRx-000814-UJ for bug-guix@gnu.org; Sat, 25 Apr 2020 17:35:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20200421130344.GA9369@LionPure> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: 40744@debbugs.gnu.org Apologies for my faux pas ;-/ This was not a guix bug, and you have rightly ignored my report. (now submitted to bug-guile, with hopes of nz human acks :) (I guess it will get a new number, so 40744 can be closed?) (BTW, no offense intended in addressing you as "guix/guile bug-squashers" ;-/) On +2020-04-21 15:03:44 +0200, Bengt Richter wrote: > Hello guix/guile bug-squashers, > > The tl;dr is: > (integer-length 0) should agree with: > (string-length (number->string 0 2)) =-> 1 > -- and not: (integer-length 0) =-> 0 -- Regards, Bengt Richter