Skip to main content

cycle_cast

Function cycle_cast 

Source
pub fn cycle_cast<F1, F2>(x: F1) -> F2
where F1: Field, F2: Field,
Expand description

casts element from one field into the other, assuming that bias is acceptable.