SapphireDensetsu / ypsilon

Automatically exported from code.google.com/p/ypsilon
Other
0 stars 0 forks source link

fxbit-count incorrect for zero #154

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Evaluate (fxbit-count 0).

What is the expected output? What do you see instead?

(fxbit-count 0) should yield 0, but yields -33 instead.

What version of the product are you using? On what operating system?

Ypsilon 0.9.6-update3 Copyright (c) 2008 Y.Fujita, LittleWing Company Limited.
Compiled and tested on Debian Squeeze GNU/Linux.

Please provide any additional information below.

Checked with the R6RS standard libraries document (Section 11.2).
Also verified that Ikarus scheme yields the expected output.

I found also an older report of a similar problem with bitwise-bit-count
(issue ID 123).

Original issue reported on code.google.com by chawa...@gmail.com on 20 Oct 2012 at 10:48