nucypher / DarkIntegers.jl

A modulo arithmetic toolbox for integers and polynomials
https://nucypher.github.io/DarkIntegers.jl
GNU General Public License v3.0
7 stars 2 forks source link

Unroll the `while true` loop in `divrem(MLUInt, MLUInt)` #24

Open fjarri opened 4 years ago

fjarri commented 4 years ago

According to Knuth it loops at most twice, so unrolling it may speed the function up.