Skip to main content

witness_iteration_for_threshold

Function witness_iteration_for_threshold 

Source
fn witness_iteration_for_threshold(
    init: i128,
    step: i128,
    violation_value: i128,
) -> Option<usize>
Expand description

Compute the first 1-based iteration where init + step * iteration reaches violation_value.