Skip to content

BigInteger.toByteArray() returns wrong value when compiled to JS #40

@buildist

Description

@buildist

print(new BigInteger('4886718345').toByteArray());

Output in Dartium: [1, 35, 69, 103, -119]
Output in Chrome: [1, 35, 69, 103, 4294967177]

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