Boost logo

Boost Users :

From: Stephan Tolksdorf (andorxor_at_[hidden])
Date: 2006-08-10 03:51:51


chun ping wang wrote:
> yeah i get this error. bad numeric conversion: positive overflow Still
> i need some way to generate a 160 bit integer somehow. ... :(

Just generate 5 unsigned integers of 32bit size. Of course, there's no
built-in data type capable of holding so many bits, but you could put
the uint's into a continues array and treat the array as one big number.

Stephan


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net