Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

crc32c is not calculated correctly #29

@ayrat555

Description

@ayrat555

probably it's related to the way js represents numbers. it seems the results of bitwise operations are overflowing

examples

-46 ^ 0x82f63b78 = 2097792170

0 ^ 0xffffffff  = -1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions