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

Speed up `-(ModUInt{T, M})` and `-(MgModUInt{T, M})` #20

Open fjarri opened 4 years ago

fjarri commented 4 years ago

Currently it is calculated just as 0 - x, which can probably be improved.