OrangeSoul Posted February 2, 2004 Share Posted February 2, 2004 If I want to convert 24 bit into its decimal range is this the procesdure to follow? 10-bit (1Kb) x 10-bit (1Kb) x 4-bit (16) is this true? Link to comment https://www.neowin.net/forum/topic/137734-decimal-range-of-bits/ Share on other sites More sharing options...
0 JaredVolkl Posted February 2, 2004 Share Posted February 2, 2004 Are you asking how big (or small) a number you could represent in binary with 24 bits? If that's the case, then its 2^24 (2 to the 24th power). If not please clarify your question a bit more please. Link to comment https://www.neowin.net/forum/topic/137734-decimal-range-of-bits/#findComment-1684492 Share on other sites More sharing options...
0 OrangeSoul Posted February 2, 2004 Author Share Posted February 2, 2004 for example 1 bit decimal range is 2 ( 0 and 1) and 4 bit decinal range is 16 (0 and 15), 8 bit is 256 10 bit is 1024 while 20 bit is 1048576 which is 10x10bit so im asking just like the 20 bit example wouldnt 24 bit be 10x10x4 (bit) = decimal range for 24 bits? which is 16.8 M? Link to comment https://www.neowin.net/forum/topic/137734-decimal-range-of-bits/#findComment-1684512 Share on other sites More sharing options...
0 jkinzer Posted February 2, 2004 Share Posted February 2, 2004 10-bit x 10-bit x 4-bit = 2^10 x 2^10 x 2^4 = 1024 x 1024 x 16 = 16777216 = 2^24 Link to comment https://www.neowin.net/forum/topic/137734-decimal-range-of-bits/#findComment-1684527 Share on other sites More sharing options...
0 AltoidBox Posted February 2, 2004 Share Posted February 2, 2004 While that works, I would just recommend doing as JaredVolkl said. Take 2 to the 24th power. Much easier than breaking it down like you have. So if you have 64 bits, the range would be 2^64. Link to comment https://www.neowin.net/forum/topic/137734-decimal-range-of-bits/#findComment-1684556 Share on other sites More sharing options...
0 Reaper_Man Posted February 2, 2004 Share Posted February 2, 2004 Try this, not sure if its what you but it does conversions. http://faculty.plattsburgh.edu/albert.cordes/bindec.html Link to comment https://www.neowin.net/forum/topic/137734-decimal-range-of-bits/#findComment-1684558 Share on other sites More sharing options...
0 OrangeSoul Posted February 2, 2004 Author Share Posted February 2, 2004 then how do we convert any decimal number to bits again? Link to comment https://www.neowin.net/forum/topic/137734-decimal-range-of-bits/#findComment-1684600 Share on other sites More sharing options...
0 Reaper_Man Posted February 2, 2004 Share Posted February 2, 2004 Here you go http://faculty.plattsburgh.edu/albert.cordes/DECBIN.HTML Link to comment https://www.neowin.net/forum/topic/137734-decimal-range-of-bits/#findComment-1684723 Share on other sites More sharing options...
0 OrangeSoul Posted February 2, 2004 Author Share Posted February 2, 2004 for instance, would 3,875,216 for example be 21 bits? Link to comment https://www.neowin.net/forum/topic/137734-decimal-range-of-bits/#findComment-1684773 Share on other sites More sharing options...
0 Reaper_Man Posted February 2, 2004 Share Posted February 2, 2004 3,875,216 decimal is equal to 1110110010000110010000 in binary So its 22 bits Link to comment https://www.neowin.net/forum/topic/137734-decimal-range-of-bits/#findComment-1684812 Share on other sites More sharing options...
Question
OrangeSoul
If I want to convert 24 bit into its decimal range is this the procesdure to follow?
10-bit (1Kb) x 10-bit (1Kb) x 4-bit (16)
is this true?
Link to comment
https://www.neowin.net/forum/topic/137734-decimal-range-of-bits/Share on other sites
9 answers to this question
Recommended Posts