
20 Nov
2008
20 Nov
'08
7:58 a.m.
Steven Watanabe wrote:
AMDG
Markus Raab wrote:
How can I multiply two dynamic_bitset? What do you mean by multiply?
dynamic_bitset<> i(1024); i=i*i; // i should be i to the power of 2
dynamic_bitset is not intended to be a big int.
I would like to implement the "fast exponential function algorithm" which needs next to bit operations (iterate over all bits) also multiplication. The numbers need to be e.g. 1024 bits long. thank you Markus Raab