| 2922 | } |
| 2923 | |
| 2924 | void Integer::SetByte(size_t n, byte value) |
| 2925 | { |
| 2926 | reg.CleanGrow(RoundupSize(BytesToWords(n+1))); |
| 2927 | reg[n/WORD_SIZE] &= ~(word(0xff) << 8*(n%WORD_SIZE)); |
| 2928 | reg[n/WORD_SIZE] |= (word(value) << 8*(n%WORD_SIZE)); |
| 2929 | } |
| 2930 | |
| 2931 | lword Integer::GetBits(size_t i, size_t n) const |
| 2932 | { |
nothing calls this directly
no test coverage detected