unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
To: 50609@debbugs.gnu.org
Subject: bug#50609: number overflow
Date: Wed, 15 Sep 2021 21:12:13 +0200	[thread overview]
Message-ID: <CAGua6m1KS6P7sOJeM4xgrAt7cex440tG3K5xgxpUk_LsogAD4g@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

This does not compile on guile 3.0.7,

(define (f . l)
  (let lp2 ((i 0) (s 0) (l l))
    (if (and (pair? l) (< i 64))
         (lp2 (+ i 1) (if (car l) (logior (ash 1 i) s) s) (cdr l))
         s)))

While compiling expression:
Throw to key `numerical-overflow' with args `("ash" "Numerical ove
rflow" #f #f)'.

[-- Attachment #2: Type: text/html, Size: 701 bytes --]

             reply	other threads:[~2021-09-15 19:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-15 19:12 Stefan Israelsson Tampe [this message]
2021-11-04 19:12 ` bug#50609: number overflow lloda
2021-11-05 16:35 ` lloda

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=CAGua6m1KS6P7sOJeM4xgrAt7cex440tG3K5xgxpUk_LsogAD4g@mail.gmail.com \
    --to=stefan.itampe@gmail.com \
    --cc=50609@debbugs.gnu.org \
    /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).