Zefram <zef...@fysh.org> writes: > With Guile 2.0.11: > > scheme@(guile-user)> (ash 123 (ash -1 63)) > $1 = 123 > > Correct result would of course be zero. Problem only occurs for > exactly this shift distance: one bit less produces the right answer.
Nice catch! It's finally fixed in commit 1990aa916382d0afcebd5315a6d6f555949ff654 on the stable-2.2 branch. The fix will be in Guile 2.2.5. Thanks for the report. Mark