unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Rob Browning <rlb@defaultvalue.org>
To: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>,
	"Bengt Richter" <bokr@bokr.com>
Cc: 40744@debbugs.gnu.org
Subject: bug#40744: guile-2.2.4 (integer-length 0) erroneously returns 0, not 1
Date: Thu, 15 Jul 2021 22:01:32 -0500	[thread overview]
Message-ID: <87pmvjarn7.fsf@trouble.defaultvalue.org> (raw)
In-Reply-To: <20200428204110.50e47ad0@alma-ubu>


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	other threads:[~2021-07-16  3:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200421130344.GA9369@LionPure>
     [not found] ` <20200425213350.GA10462@LionPure>
2020-04-28 18:08   ` bug#40744: guile-2.2.4 (integer-length 0) erroneously returns 0, not 1 Björn Höfling
2020-04-28 18:41     ` Björn Höfling
2021-07-16  3:01       ` Rob Browning [this message]
2021-07-24 17:12         ` Bengt Richter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmvjarn7.fsf@trouble.defaultvalue.org \
    --to=rlb@defaultvalue.org \
    --cc=40744@debbugs.gnu.org \
    --cc=bjoern.hoefling@bjoernhoefling.de \
    --cc=bokr@bokr.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).