unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#56543: bitwise-rotate-bit-field causes gmp overflow
@ 2022-07-13 21:55 Jason Hemann
  0 siblings, 0 replies; only message in thread
From: Jason Hemann @ 2022-07-13 21:55 UTC (permalink / raw)
  To: 56543

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

When I run Göran Weinholt's schjig <https://gitlab.com/weinholt/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
<https://www.gnu.org/software/guile/manual/html_node/R6RS-Incompatibilities.html>.
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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-13 21:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13 21:55 bug#56543: bitwise-rotate-bit-field causes gmp overflow Jason Hemann

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