ethereum / beacon_chain

MIT License
209 stars 65 forks source link

Use int_sqrt #129

Closed djrtwo closed 5 years ago

djrtwo commented 5 years ago

Issue

Spec now uses int_sqrt instead of floating point sqrt and then an integer cast.

Proposed Implementation

djrtwo commented 5 years ago

taking care of this

djrtwo commented 5 years ago

Linking to the two relevant PRs in the spec repo https://github.com/ethereum/eth2.0-specs/pull/13 https://github.com/ethereum/eth2.0-specs/pull/14