normalize

Function normalize 

Source
pub fn normalize(limbs: &mut [Limb]) -> usize
Expand description

Normalize a limb slice by removing leading zeros.

Returns the number of non-zero limbs (at least 1, even if all are zero). This operation is constant-time aware but may not be fully constant-time due to the need to find the actual length.