Why classical division (“/”) for large integers is much slower than integer division (“//”)?

后端 未结 0 1230
囚心锁ツ
囚心锁ツ 2021-02-19 06:38

I ran into a problem: The code was very slow for 512 bit odd integers if you use classical division for (p-1)/2. But with floor division it works instantly. Is it caused by flo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题