! the multiplication 'this' = 'this' * ss2 algorithm: 100 - means automatically choose the fastest algorithm */
| 880 | algorithm: 100 - means automatically choose the fastest algorithm |
| 881 | */ |
| 882 | uint Mul(const UInt<value_size> & ss2, uint algorithm = 100) |
| 883 | { |
| 884 | switch( algorithm ) |
| 885 | { |
| 886 | case 1: |
| 887 | return Mul1(ss2); |
| 888 | |
| 889 | case 2: |
| 890 | return Mul2(ss2); |
| 891 | |
| 892 | case 3: |
| 893 | return Mul3(ss2); |
| 894 | |
| 895 | case 100: |
| 896 | default: |
| 897 | return MulFastest(ss2); |
| 898 | } |
| 899 | } |
| 900 | |
| 901 | |
| 902 | /*! |