Page 2 of 2 <12
Topic Options
#164674 - 2006-08-01 02:13 PM Re: Decimal to Binary converter
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
ROFLMAO
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#164675 - 2006-08-01 02:16 PM Re: Decimal to Binary converter
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
hmmm, tricky... preceding zero's are also not shown / used.

010101 = 21

21 = 10101

Jens? Could we get a ruling here?

Top
#164676 - 2006-08-02 04:55 AM Re: Decimal to Binary converter
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Leading zeros for binary number presentations are not required. The main reason leading zeros are being used is to indicate the valid range the binary representation represents, e.g. nibble, byte, or word. Also, the orginal coder did not specify the necessity for leading zeros.
_________________________
There are two types of vessels, submarines and targets.

Top
#164677 - 2006-08-02 07:54 AM Re: Decimal to Binary converter
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
jihaa, me win!
Top
Page 2 of 2 <12


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1013 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.057 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org