¡@

Home 

c++ Programming Glossary: c.dat

Fast bignum square computation

http://stackoverflow.com/questions/18465326/fast-bignum-square-computation

x.siz x.siz 1 nx x.siz 1 nc c.siz 1 N nx nx for i 0 i nc i c.dat i 0 for i 1 i N i for i0 0 i0 nx i0 i i0 i1 i i0 if i0 i1 break.. nx i1 if l continue alu.mul h l h l k nc i if k 0 alu.add c.dat k c.dat k l k if k 0 alu.adc c.dat k c.dat k h k for alu.cy.. l continue alu.mul h l h l k nc i if k 0 alu.add c.dat k c.dat k l k if k 0 alu.adc c.dat k c.dat k h k for alu.cy k 0 k alu.inc..