lighthouse/eth2/fork_choice
Michael Sproul 6795aa42b2 Fix log_int implementation, removing floats
The cast from f32::MAX to u32 was undefined behaviour, and the use of floating
point logarithms would yield incorrect results due to rounding and truncation,
e.g. for the integer 16777206
2019-03-02 15:52:33 +11:00
..
src Fix log_int implementation, removing floats 2019-03-02 15:52:33 +11:00
tests Correct bitwise fork-choice rule. 2019-03-01 14:38:07 +11:00
Cargo.toml Fix log_int implementation, removing floats 2019-03-02 15:52:33 +11:00