0

How to Convert Binary String of Length 1024 to its Respective Decimal Number.

for example
101 of length 3 and the respective Decimal Number is 5
10111 of length 5 and the respective Decimal Number is 23
like this .. i have a binary number of length upto 1024 ...

The resultant decimal number range is more than the builtin data type ranges.

So how can i made calculations on numbers out of Builting data types ranges.

Please Tell me...

Thank you in Advance.

2
Contributors
4
Replies
5
Views
10 Years
Discussion Span
Last Post by mohanvamsi_18
0

>So how can i made calculations on numbers out of Builting data types ranges.
Use an arbitrary length math library such as GMP, or write your own.

0

>please give me ....
No. Do it yourself and I'll help you fix any problems. But I won't do your work for you.

0

>please give me ....
No. Do it yourself and I'll help you fix any problems. But I won't do your work for you.

TanQ........

i will try for it ......

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.