(&mut self, index: &mut ColumnIndex, t: G)
| 51 | let sum: u128 = values.iter().map(|x| u128::from(*x)).sum(); |
| 52 | let word = u32::try_from(sum & 0xFFFF_FFFF).expect("masked to 32 bits"); |
| 53 | let carry = u64::try_from(sum >> 32).expect("sum of u32 words fits in u64"); |
| 54 | (word.to_le_bytes().map(|b| G::from_u64(b.into())), G::from_u64(carry)) |
| 55 | } |
| 56 | |
| 57 | impl<'a, 'b> ColumnMutSlice<'a, 'b> { |
| 58 | fn from_slice( |
| 59 | function: &Function, |
no outgoing calls
no test coverage detected