UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
August
Su M Tu W Th F Sa
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Sponsored Links
Latest Postings
Amazon Gift Card Generator/KeyGen?te
by Gecko666
08/22/14 09:21 AM
Latest Reviews
Topic Options
Rate This Topic
#8247 - 02/10/04 06:47 AM Binary
Ntd Offline
Member

Registered: 01/21/03
Posts: 217
Loc: Melbourne, Victoria, Australia
Hey,

Just got one question about binary and it its...

if 127 is largest number you can get from a byte how do you get numbers like 1000030303032040 ??

Thanks.

(64+32+16+8+4+2+1=127 != 256 mate and its 2^7 not 2^8 last bit is the parity check)

FYI: By Byte i mean 2^7 not 2^8 because the last bit is the parity check bit.

Top
Sponsored Links
      
#8248 - 02/10/04 02:26 PM Re: Binary
Infinite Offline



Registered: 03/09/02
Posts: 1041
Loc: Canada eh
Not to sure where you pulled 127 from, but that is totally wrong. The largest number a byte can be is 255, ie:

11111111

But binary numbers can be longer than a byte. That's just a convienent grouping we use for computer related things. The numbers work the same as decimal except instead of useing powers of ten we use powers of 2. So instead of 1, 10, 100, 1000 we have 1, 2, 4, 8, 16 and so on. If you have a binary number that is 9 bits long you can have a number up to 511, 10 bits would be 1023, etc. So we get those numbers by have long binary number and not restricting them to byte size only.

Infinite

Top
#8249 - 02/11/04 02:34 AM Re: Binary
Ntd Offline
Member

Registered: 01/21/03
Posts: 217
Loc: Melbourne, Victoria, Australia
Ok so your saying if we dont restrict it to byte size we can leave it, to say a megabyte size? So that would be 2^1024 not just 2^7?

Top
#8250 - 02/11/04 05:47 AM Re: Binary
Infinite Offline



Registered: 03/09/02
Posts: 1041
Loc: Canada eh
yup

and a byte is 8 bits, 2^8

Top
#8251 - 02/11/04 11:46 PM Re: Binary
Ntd Offline
Member

Registered: 01/21/03
Posts: 217
Loc: Melbourne, Victoria, Australia
Ok i get it now thanks for the help.

Top

Moderator:  Infinite 
Featured Member
Registered: 08/20/13
Posts: 1
Forum Stats
2148 Members
46 Forums
33949 Topics
69116 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 27111
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Gecko666, defghi795767, Devo60, ali, lavos
2147 Registered Users
Who's Online
0 registered (), 292 Guests and 307 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!