Skip to content

fxbit-count incorrect for zero #154

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions