|
From: | Mark H Weaver |
Subject: | bug#21901: bit shift wrong on maximal right shift |
Date: | Sun, 14 Oct 2018 05:40:51 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Zefram <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |