unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#50609: number overflow
@ 2021-09-15 19:12 Stefan Israelsson Tampe
  2021-11-04 19:12 ` lloda
  2021-11-05 16:35 ` lloda
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Israelsson Tampe @ 2021-09-15 19:12 UTC (permalink / raw)
  To: 50609

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-05 16:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15 19:12 bug#50609: number overflow Stefan Israelsson Tampe
2021-11-04 19:12 ` lloda
2021-11-05 16:35 ` lloda

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).