bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Rob Browning
Subject: bug#40744: guile-2.2.4 (integer-length 0) erroneously returns 0, not 1
Date: Thu, 15 Jul 2021 22:01:32 -0500

Hmm, the zero result appears to be intentional, i.e. it's mentioned in
the examples here:

  https://www.gnu.org/software/guile/manual/guile.html#Arithmetic

and is also specified by Chez Scheme and SRFI-60:

  https://www.scheme.com/csug8/numeric.html
  https://srfi.schemers.org/srfi-60/srfi-60.html

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4





reply via email to

[Prev in Thread] Current Thread [Next in Thread]