Division with really big numbers

后端 未结 3 1489
终归单人心
终归单人心 2021-01-23 10:50

I was just wondering what different strategies there are for division when dealing with big numbers. By big numbers, I mean ~50 digit numbers .

e.g. 9237639100273856744

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-23 11:53

    Long division is not very complicated if you are working with binary representations of your numbers and probably the most efficient algorithm.

提交回复
热议问题