By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,165 Members | 949 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,165 IT Pros & Developers. It's quick & easy.

multiple precision integers-string to int conversion routines

P: n/a
hello,
how can i make a conversion from a string to a multiple precision integer
stored in memory in a base 2^32?
i guess conversion from integer to string would require dividing modulo 10,
but how do the opposite conversion?
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"adrin" <ad***@adrin.adrin> wrote...
hello,
how can i make a conversion from a string to a multiple precision integer
stored in memory in a base 2^32?
i guess conversion from integer to string would require dividing modulo
10,
but how do the opposite conversion?


How about multiplying by 10 and adding?
Jul 23 '05 #2

P: n/a
"Victor Bazarov" <v.********@comAcast.net> wrote in
news:wN********************@comcast.com:
"adrin" <ad***@adrin.adrin> wrote...
hello,
how can i make a conversion from a string to a multiple precision
integer stored in memory in a base 2^32?
i guess conversion from integer to string would require dividing
modulo 10,
but how do the opposite conversion?


How about multiplying by 10 and adding?

oh, hehe thanks
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.