Originally posted by dewthedewIt looks to be 80 characters and so is a number between 1 and 2^(80). If it is one binary number that is.
0100111001100101011100100110010001110011
0111001001110101011011000110010100100001
The principle of binary representation and translation from binary to decimal are straightforward. That assumes binary. It could be in any base to begin with. It could be in base 10 already and the task is to convert TO binary. After all, 1001 is a number in base 2, 3, 4, etc.
I don't see why it begins with a zero. If it is one binary number, there is no need to state a leading zero unless it is the readout of an 80 digit register. If it is two numbers, the same question applies.
So you have a procedure in mind? Expressing such large numbers (powers of 2) and adding them could be tedious.
Originally posted by dewthedew01001110 01100101 01110010 01100100 01110011
0100111001100101011100100110010001110011
0111001001110101011011000110010100100001
01110010 01110101 01101100 01100101 00100001
4e 65 72 64 73 72 75 6c 65 21
78 101 114 100 115 114 117 108 101 33
A 65
K 75
U 85
Z 90
a 97
k 107
u 117
z 122
I had to look up the 33.
Nerdsrule!
We do, don't we. 😛
Originally posted by JS357Every four binary digits corresponds to one hexadecimal digit (0000=0 up to 1111=F), so usually binary numbers are written in groups of four.
I don't see why it begins with a zero.
0100111001100101011100100110010001110011
is better written as
0100 1110 0110 0101 0111 0010 0110 0100 0111 0011,
which quickly translates as
4,D65,726,473,
or about 3.32414 x 10^11.
Originally posted by SoothfastWho writes hex numbers with a comma every three digits?! 😞
Every four binary digits corresponds to one hexadecimal digit (0000=0 up to 1111=F), so usually binary numbers are written in groups of four.
0100111001100101011100100110010001110011
is better written as
0100 1110 0110 0101 0111 0010 0110 0100 0111 0011,
which quickly translates as
4,D65,726,473,
or about 3.32414 x 10^11.