GNU bug report logs - #40744
guile-2.2.4 (integer-length 0) erroneously returns 0, not 1

Previous Next

Package: guile;

Reported by: Bengt Richter <bokr <at> bokr.com>

Date: Tue, 21 Apr 2020 13:05:01 UTC

Severity: normal

Merged with 40855

Full log


View this message in rfc822 format

From: Bengt Richter <bokr <at> bokr.com>
To: 40744 <at> debbugs.gnu.org
Subject: bug#40744: guile-2.2.4 (integer-length 0) erroneously returns 0,  not 1
Date: Sat, 25 Apr 2020 23:33:50 +0200
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




This bug report was last modified 3 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.