Shifting big numbers

前端 未结 2 826
星月不相逢
星月不相逢 2021-01-15 15:54

X = 712360810625491574981234007851998 is represented using a linked list and each node is an unsigned int

Is there a fast way to d

2条回答
  •  清歌不尽
    2021-01-15 16:28

    I think, if you use 64 bit integer the code should be

        o3 = i3 << 3 | i2 >> (32 - 3);
        .....
    

提交回复
热议问题