bug-guile
[Top][All Lists]
Advanced

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

bug#56543: bitwise-rotate-bit-field causes gmp overflow


From: Jason Hemann
Subject: bug#56543: bitwise-rotate-bit-field causes gmp overflow
Date: Wed, 13 Jul 2022 17:55:25 -0400

When I run Göran Weinholt's schjig's `schjig.scm` against guile 3.0.8 I encounter the following error. Please notice that I first switch on r6rs compatibility mode. I have no `.guile` file. I did not see this listed on the R6RS incompatibilities. Is this a bug, either in guile or gmp?

```shell
$ guile
(install-r6rs!)
(load "schjig.scm")
...
(check (bitwise-rotate-bit-field 573972483446053417 1238 4006 -1627) => (quote 573972483446053417))
gmp: overflow in mpz type
Abort trap: 6
```

Best,

JBH

reply via email to

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