C++ fast division/mod by 10^x

后端 未结 10 611
我寻月下人不归
我寻月下人不归 2020-12-03 05:13

In my program I use a lot of integer division by 10^x and integer mod function of power 10.

For example:

unsigned __int64 a = 12345;
a = a / 100;
...         


        
10条回答
提交回复
热议问题