Re: [Boost-users] random number generator 160 bit.
From: "chun ping wang"
yeah i get this error. bad numeric conversion: positive overflow Still i need some way to generate a 160 bit integer somehow. ... :(
You can write your own integer class or search Google or Sourceforge for arbitrary-sized integer implementations. Luckily, you're working in a language with templates, so once you find an implementation, just use it for your template parameter and you should be good to go. - James Jones Administrative Data Mgmt. Webmaster 375 Raritan Center Pkwy, Suite A Data Architect Edison, NJ 08837
hmm whats the best one?
On 8/10/06, james.jones@firstinvestors.com
From: "chun ping wang"
yeah i get this error. bad numeric conversion: positive overflow Still i need some way to generate a 160 bit integer somehow. ... :(
You can write your own integer class or search Google or Sourceforge for arbitrary-sized integer implementations. Luckily, you're working in a language with templates, so once you find an implementation, just use it for your template parameter and you should be good to go.
- James Jones Administrative Data Mgmt. Webmaster 375 Raritan Center Pkwy, Suite A Data Architect Edison, NJ 08837 _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
chun ping wang
-
james.jones@firstinvestors.com