Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
quantumcrypt
· 4y ago · 0 comments
Instead of computing nA = A + A + … + A you can use the “exponentiation” by squaring trick: nA = (n/2)A + (n/2)A + (n%2)A. It takes logarithmically many steps.
Comments
No comments yet.
Better HN