Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bigint issue #206

Closed
zhfnjust opened this issue Nov 11, 2022 · 0 comments
Closed

bigint issue #206

zhfnjust opened this issue Nov 11, 2022 · 0 comments

Comments

@zhfnjust
Copy link
Collaborator

zhfnjust commented Nov 11, 2022

should success but failed

contract Demo {


    public function add(int z) {

        int u = 69992023193056381579920071267763883691301421788582797965624659405118495974380029543152421664737722368 + 69992023193056381579920071267763883691301421788582797965624659405118495974380029543152421664737722368;

        // u = 133499189745056880149688856635597007162669032647290798121690100488888732861290034376435130433536
        //0x10000000000000000000000000000000000000000000000000000000000000000000000000000000


       require(u == 139984046386112763159840142535527767382602843577165595931249318810236991948760059086304843329475444736);


        require(true);
    }


}

zhfnjust pushed a commit that referenced this issue Nov 11, 2022
zhfnjust added a commit that referenced this issue Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant