Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Puffin Rock Characters Plush Toy Set
anil1961
Updated:
Saturday at 3:51 PM
Toyota Vitz scp10 For Sale
Lakmal Bandara
Updated:
Wednesday at 10:50 AM
Kandy
Welcome all my all new pet shop Bark.lk
dilumrane
Updated:
Nov 2, 2026
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Nov 1, 2026
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
Computer guys pls help me..........
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Nisala88" data-source="post: 9540481" data-attributes="member: 8045"><p><strong>Sign & magtitude representation</strong></p><p></p><p>An <em>n</em>-bit word can have 2 to the power n possible different values from 0 to 2 to the power n -1, for example, an 8-bit word can represent the numbers 0,1,....,254,255. One way of representing a negative number is to take the most significant bit and reserve it to indicate the sign of the number. The usual conversation is to choose the sign bit to be 0 to represent positive numbers and to choose it to be 1 to represent negative numbers.</p><p></p><p>for example, in 8 bits we can interpret the two numbers 00001101 and 10001101</p><p></p><p>0 - sign bit </p><p>0001101 (number magnitude) = + 13 subscript 10</p><p></p><p>and</p><p></p><p>1 - sign bit</p><p>0001101 (number magnitude) = - 13 subscript 10</p><p></p><p>Using a sign magnitude representation is a perfect valid way to represent signed numbers, although it is not widely used in integer arithmetic. The range of a sign and magnitude number in <em>n</em> bits is given by,</p><p></p><p> -(2 to the power (<em>n-1</em>) - 1) to +(2 to the power (<em>n-1</em>) - 1)</p><p></p><p>All we have done is to take an <em>n</em> bit number, use one bit to represent the sign and left the remaining <em>n-1</em> bits to represent the number.</p><p>One of the objections to this system is that it has two values for zero,</p><p></p><p> 00000000 = +0 and 10000000 = -0</p><p></p><p>mage 1st year text book eken balan gahuwe, bohoma keti karala, mamahithanawa meka prayojanawath wei kiyala</p></blockquote><p></p>
[QUOTE="Nisala88, post: 9540481, member: 8045"] [B]Sign & magtitude representation[/B] An [I]n[/I]-bit word can have 2 to the power n possible different values from 0 to 2 to the power n -1, for example, an 8-bit word can represent the numbers 0,1,....,254,255. One way of representing a negative number is to take the most significant bit and reserve it to indicate the sign of the number. The usual conversation is to choose the sign bit to be 0 to represent positive numbers and to choose it to be 1 to represent negative numbers. for example, in 8 bits we can interpret the two numbers 00001101 and 10001101 0 - sign bit 0001101 (number magnitude) = + 13 subscript 10 and 1 - sign bit 0001101 (number magnitude) = - 13 subscript 10 Using a sign magnitude representation is a perfect valid way to represent signed numbers, although it is not widely used in integer arithmetic. The range of a sign and magnitude number in [I]n[/I] bits is given by, -(2 to the power ([I]n-1[/I]) - 1) to +(2 to the power ([I]n-1[/I]) - 1) All we have done is to take an [I]n[/I] bit number, use one bit to represent the sign and left the remaining [I]n-1[/I] bits to represent the number. One of the objections to this system is that it has two values for zero, 00000000 = +0 and 10000000 = -0 mage 1st year text book eken balan gahuwe, bohoma keti karala, mamahithanawa meka prayojanawath wei kiyala [/QUOTE]
Insert quotes…
Verification
Asuwa dahayen wadi kalama keeyada?
Post reply
Top
Bottom