ref/include/f11_260.c
// Reduce to 10 limbs. Useful for debugging
Reduce to 10 limbs. Useful for debugging
Reduce to 10 limbs . Useful for debugging
void narrow_reduce(
  residue_narrow_reduced_t *result, const residue_narrow_t * __restrict w) {
  residue_narrow_t temp;
  for (int i = 0; i < NLIMBS; ++i) {
    temp.limbs[i] = w->limbs[i] - w->limbs[10];
  }
  reduce_step_narrow(&temp, &temp);
  for (int i = 0; i < NLIMBS_REDUCED; ++i) {
    result->limbs[i] = temp.limbs[i] - temp.limbs[10];
  }
}
void narrow_reduce ( residue_narrow_reduced_t * result , const residue_narrow_t * __restrict w ) { residue_narrow_t temp ; for ( int i = 0 ; i < NLIMBS ; ++ i ) { temp . limbs [ i ] = w -> limbs [ i ] - w -> limbs [ 10 ] ; } reduce_step_narrow ( & temp , & temp ) ; for ( int i = 0 ; i < NLIMBS_REDUCED ; ++ i ) { result -> limbs [ i ] = temp . limbs [ i ] - temp . limbs [ 10 ] ; } }
Reduce to 10 limbs.
Reduce to 10 limbs .