|
-
March 28th, 2008, 10:53 AM
#1
BINARY(1024) to decimal
I have a binary of length 1024 like
11111110101011111111101010110010111010101100101111111010101100101
11010101111111111010101100101011111111111111010101100101010101111
10101011111110101011111110101011001000100010110010111111111101111
11010101100100101100100101011001010111111010101100101111101111111
01010110010111010101100101111111010101100101110101011111111110101
01100101011111111111111010101100101010101111101010111111101010111
11110101011001000100010110010111111111101111110101011001001011001
00101011001010111111010101100101111101111101010110010101011001001
01100100101100111111010101111101010110010110010010011111010101100
11111010101100101010111111010101100101111010111111111010101100101
10101011001001100101111010111111010101100100110010111110101011001
01111101010110010111110101011001010101100100101100100101100111111
01010111110101011001011001001001111101010111111101010110010111010
10110010111111101010110010111010101111111111010101100101011111111
11111101010110010101010111110101011111110101011111110101011001000
1000111111111010101100101010101111101010111011111
I want to conver this number into Equivalent Decimal number using c++ please give the code or show any way...
better to use C++ standard libraries... please ..
-
March 28th, 2008, 11:05 AM
#2
Re: BINARY(1024) to decimal
Is the 'Equivalent Decimal' going to be a string or some sort of 'large number' class?
2^1024 is a VERY large number. (1.797693134862315907729305190789e+308)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|