(&self)
| 42 | } |
| 43 | |
| 44 | pub fn n_bits(&self) -> u32 { |
| 45 | match self { |
| 46 | BigIntType::U64(_) => U64::N_BITS, |
| 47 | BigIntType::U254(_) => U254::N_BITS, |
| 48 | BigIntType::U256(_) => U256::N_BITS, |
| 49 | BigIntType::U384(_) => U384::N_BITS, |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | pub fn limb_size(&self) -> u32 { |
| 54 | match self { |