43
22
mp_bitwise(const MPNumber *x, const MPNumber *y, int (*bitwise_operator)(int, int), MPNumber *z, int wordlen)
45
char text1[MAX_DIGITS], text2[MAX_DIGITS], text_out[MAX_DIGITS], text_out2[MAX_DIGITS];
46
25
int offset1, offset2, offset_out;
48
27
mp_cast_to_string(x, 16, 0, 0, text1, MAX_DIGITS);
49
28
mp_cast_to_string(y, 16, 0, 0, text2, MAX_DIGITS);
52
31
offset_out = wordlen / 4 - 1;
54
33
offset_out = offset1 > offset2 ? offset1 : offset2;