Skip to content

Misunderstanding of bitwise operator in big int validation #1

@mrhn

Description

@mrhn

In BigInteger rule-following is used return 2 ^ 63 - 1;, this will evaluate to 60. This was probably meant as mathetics version of power, the ^ sign is not defined in PHP or any other language as power and Math.power should be used. Will do a pr tonight.

Documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions